/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; import type { Money } from './Money'; /** * * @export * @interface ShippingInfo */ export interface ShippingInfo { /** * Merchant shipping identifier * @type {string} * @memberof ShippingInfo */ merchantShippingId: string; /** * Number of tracking * @type {string} * @memberof ShippingInfo */ trackingNo?: string; /** * Information of carrier * @type {string} * @memberof ShippingInfo */ carrier?: string; /** * Promo amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
* * @type {Money} * @memberof ShippingInfo */ chargeAmount?: Money; /** * Name of country * @type {string} * @memberof ShippingInfo */ countryName: string; /** * Name of state * @type {string} * @memberof ShippingInfo */ stateName: string; /** * Name of city * @type {string} * @memberof ShippingInfo */ cityName: string; /** * Name of area * @type {string} * @memberof ShippingInfo */ areaName?: string; /** * Information of address 1 * @type {string} * @memberof ShippingInfo */ address1: string; /** * Information of address 2 * @type {string} * @memberof ShippingInfo */ address2?: string; /** * First name * @type {string} * @memberof ShippingInfo */ firstName: string; /** * Last name * @type {string} * @memberof ShippingInfo */ lastName: string; /** * Mobile number * @type {string} * @memberof ShippingInfo */ mobileNo?: string; /** * Phone number * @type {string} * @memberof ShippingInfo */ phoneNo?: string; /** * Zip code * @type {string} * @memberof ShippingInfo */ zipCode: string; /** * Email * @type {string} * @memberof ShippingInfo */ email?: string; /** * Fax number * @type {string} * @memberof ShippingInfo */ faxNo?: string; } /** * Check if a given object implements the ShippingInfo interface. */ export declare function instanceOfShippingInfo(value: object): value is ShippingInfo; export declare function ShippingInfoFromJSON(json: any): ShippingInfo; export declare function ShippingInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShippingInfo; export declare function ShippingInfoToJSON(json: any): ShippingInfo; export declare function ShippingInfoToJSONTyped(value?: ShippingInfo | null, ignoreDiscriminator?: boolean): any; export declare function validateShippingInfo(value: ShippingInfo): ValidationErrorContext[];