/** * 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'; import type { CreateOrderByApiAdditionalInfo } from './CreateOrderByApiAdditionalInfo'; import type { PayOptionDetail } from './PayOptionDetail'; /** * * @export * @interface CreateOrderByApiRequest */ export interface CreateOrderByApiRequest { /** * * @type {Array} * @memberof CreateOrderByApiRequest */ payOptionDetails: Array; /** * * @type {CreateOrderByApiAdditionalInfo} * @memberof CreateOrderByApiRequest */ additionalInfo?: CreateOrderByApiAdditionalInfo; /** * Transaction identifier on partner system * @type {string} * @memberof CreateOrderByApiRequest */ partnerReferenceNo: string; /** * Merchant identifier that is unique per each merchant * @type {string} * @memberof CreateOrderByApiRequest */ merchantId: string; /** * Information of sub merchant identifier * @type {string} * @memberof CreateOrderByApiRequest */ subMerchantId?: string; /** * Amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
* * @type {Money} * @memberof CreateOrderByApiRequest */ amount: Money; /** * Store identifier to indicate to which store this payment belongs to * @type {string} * @memberof CreateOrderByApiRequest */ 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 CreateOrderByApiRequest */ validUpTo: string; /** * Payment method(s) that cannot be used for this * @type {string} * @memberof CreateOrderByApiRequest */ disabledPayMethods?: string; /** * Notify URL that DANA must send the payment notification to * @type {Array} * @memberof CreateOrderByApiRequest */ urlParams: Array; } /** * Check if a given object implements the CreateOrderByApiRequest interface. */ export declare function instanceOfCreateOrderByApiRequest(value: object): value is CreateOrderByApiRequest; export declare function CreateOrderByApiRequestFromJSON(json: any): CreateOrderByApiRequest; export declare function CreateOrderByApiRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrderByApiRequest; export declare function CreateOrderByApiRequestToJSON(json: any): CreateOrderByApiRequest; export declare function CreateOrderByApiRequestToJSONTyped(value?: CreateOrderByApiRequest | null, ignoreDiscriminator?: boolean): any; export declare function validateCreateOrderByApiRequest(value: CreateOrderByApiRequest): ValidationErrorContext[];