palmpaywrappersdk
Version:
PalmPay Wrapper Sdk
44 lines (31 loc) • 1.28 kB
text/typescript
import { ClassTransformer } from "class-transformer";
import { Expose, Transform } from 'class-transformer';
// PayInCreateOrderResponse.ts
export class QueryPayInResponse {
orderNo: string ;
orderStatus: string;
createdTime: string;
updateTime: string
currency: string ;
orderAmount: string;
reference: string;
payerAccountNo: string
payerAccountName: string;
payerBankName: string;
virtualAccountNo: string
virtualAccountName: string
constructor(orderNo: string, orderStatus: string, createdTime: string, updateTime: string, currency: string, orderAmount: string, reference: string, payerAccountNo: string, payerAccountName: string, payerBankName: string,virtualAccountNo: string, virtualAccountName: string) {
this.orderNo = orderNo;
this.orderStatus = orderStatus;
this.createdTime = createdTime;
this.updateTime = updateTime;
this.currency = currency;
this.orderAmount = orderAmount;
this.reference = reference;
this.payerAccountNo = payerAccountNo;
this.payerAccountName = payerAccountName;
this.payerBankName = payerBankName;
this.virtualAccountNo = virtualAccountNo;
this.virtualAccountName = virtualAccountName;
}
}