/** * 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 { WidgetPaymentRequestAdditionalInfo } from './WidgetPaymentRequestAdditionalInfo'; import type { PayOptionDetail } from './PayOptionDetail'; /** * * @export * @interface WidgetPaymentRequest */ export interface WidgetPaymentRequest { /** * Unique transaction identifier on partner system which assigned to each transaction * @type {string} * @memberof WidgetPaymentRequest */ partnerReferenceNo: string; /** * Merchant identifier that is unique per each merchant * @type {string} * @memberof WidgetPaymentRequest */ merchantId: string; /** * * @type {string} * @memberof WidgetPaymentRequest */ subMerchantId?: string; /** * * @type {Money} * @memberof WidgetPaymentRequest */ amount: Money; /** * Store identifier to indicate to which store this payment belongs to * @type {string} * @memberof WidgetPaymentRequest */ 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) * @type {string} * @memberof WidgetPaymentRequest */ validUpTo: string; /** * Used for getting more info regarding source of request of the user * @type {string} * @memberof WidgetPaymentRequest */ pointOfInitiation?: string; /** * Payment method(s) that cannot be used for this payment * @type {string} * @memberof WidgetPaymentRequest */ disabledPayMethods?: string; /** * Payment option that will be used for this payment * @type {Array} * @memberof WidgetPaymentRequest */ payOptionDetails?: Array; /** * * @type {WidgetPaymentRequestAdditionalInfo} * @memberof WidgetPaymentRequest */ additionalInfo: WidgetPaymentRequestAdditionalInfo; /** * Notify URL that DANA must send the payment notification to * @type {Array} * @memberof WidgetPaymentRequest */ urlParams?: Array; } /** * Check if a given object implements the WidgetPaymentRequest interface. */ export declare function instanceOfWidgetPaymentRequest(value: object): value is WidgetPaymentRequest; export declare function WidgetPaymentRequestFromJSON(json: any): WidgetPaymentRequest; export declare function WidgetPaymentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WidgetPaymentRequest; export declare function WidgetPaymentRequestToJSON(json: any): WidgetPaymentRequest; export declare function WidgetPaymentRequestToJSONTyped(value?: WidgetPaymentRequest | null, ignoreDiscriminator?: boolean): any; export declare function validateWidgetPaymentRequest(value: WidgetPaymentRequest): ValidationErrorContext[];