/** * 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'; import type { UrlParam } from './UrlParam'; /** * * @export * @interface CreateOrderBaseRequest */ export interface CreateOrderBaseRequest { /** * Transaction identifier on partner system * @type {string} * @memberof CreateOrderBaseRequest */ partnerReferenceNo: string; /** * Merchant identifier that is unique per each merchant * @type {string} * @memberof CreateOrderBaseRequest */ merchantId: string; /** * Information of sub merchant identifier * @type {string} * @memberof CreateOrderBaseRequest */ subMerchantId?: string; /** * Amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
* * @type {Money} * @memberof CreateOrderBaseRequest */ amount: Money; /** * Store identifier to indicate to which store this payment belongs to * @type {string} * @memberof CreateOrderBaseRequest */ externalStoreId?: string; /** * The time when the payment will be automatically expired, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time) and cannot be more than one week in the future. * @type {string} * @memberof CreateOrderBaseRequest */ validUpTo: string; /** * Payment method(s) that cannot be used for this * @type {string} * @memberof CreateOrderBaseRequest */ disabledPayMethods?: string; /** * Notify URL that DANA must send the payment notification to * @type {Array} * @memberof CreateOrderBaseRequest */ urlParams: Array; } /** * Check if a given object implements the CreateOrderBaseRequest interface. */ export declare function instanceOfCreateOrderBaseRequest(value: object): value is CreateOrderBaseRequest; export declare function CreateOrderBaseRequestFromJSON(json: any): CreateOrderBaseRequest; export declare function CreateOrderBaseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrderBaseRequest; export declare function CreateOrderBaseRequestToJSON(json: any): CreateOrderBaseRequest; export declare function CreateOrderBaseRequestToJSONTyped(value?: CreateOrderBaseRequest | null, ignoreDiscriminator?: boolean): any; export declare function validateCreateOrderBaseRequest(value: CreateOrderBaseRequest): ValidationErrorContext[];