import { ClassTransformer } from "class-transformer"; import { Expose, Transform } from 'class-transformer'; // PayInCreateOrderResponse.ts export class PayInCreateOrderResponseData { orderNo!: string | null; orderAmount: number; orderStatus: string; checkoutUrl: string goodsName: string sdkSessionId: string merchantNo: number payToken: string sdkSignKey: number mockCheckoutUrl: string payerVirtualAccNo: string payerAccountId: string payerAccountType: string payMethod: string appId: string payCodeExpireMilliSec: string payCode: string constructor(orderNo: string, orderAmount: number, orderStatus: string, checkoutUrl: string, goodsName: string, sdkSessionId: string, merchantNo: number, payToken: string, sdkSignKey: number, mockCheckoutUrl: string, payerVirtualAccNo: string, payerAccountId: string, payerAccountType: string, payMethod: string, appId: string, payCodeExpireMilliSec: string, payCode: string) { this.orderNo = orderNo; this.orderAmount = orderAmount; this.orderStatus = orderStatus; this.checkoutUrl = checkoutUrl; this.goodsName = goodsName; this.sdkSessionId = sdkSessionId; this.merchantNo = merchantNo; this.payToken = payToken; this.sdkSignKey = sdkSignKey; this.mockCheckoutUrl = mockCheckoutUrl; this.payerVirtualAccNo = payerVirtualAccNo; this.payerAccountId = payerAccountId; this.payerAccountType = payerAccountType; this.payMethod = payMethod; this.appId = appId; this.payCodeExpireMilliSec = payCodeExpireMilliSec; this.payCode = payCode; } }