@spartacus/checkout
Version:
Checkout feature library for Spartacus
14 lines (13 loc) • 761 B
TypeScript
import { Converter, Occ, ScheduleReplenishmentForm } from '@spartacus/core';
import * as i0 from "@angular/core";
export declare class OccReplenishmentOrderFormSerializer implements Converter<Occ.ScheduleReplenishmentForm, ScheduleReplenishmentForm> {
convert(source: Occ.ScheduleReplenishmentForm, target?: ScheduleReplenishmentForm): ScheduleReplenishmentForm;
/**
* Adds the current timestamp (including timezone offset) to a date string in the format YYYY-mm-dd
* @Example
* Converts 2021-10-15 to 2021-10-15T15:38:05-05:00
*/
private convertDate;
static ɵfac: i0.ɵɵFactoryDeclaration<OccReplenishmentOrderFormSerializer, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OccReplenishmentOrderFormSerializer>;
}