export class PayInRequest { description: number; orderId: string; title: string; userId: number; userMobileNo: string; productType: string; amount: string; currency: string; notifyUrl: string; callbackUrl: string; orderExpireTime: string; goodsDetails: string; remark: string; constructor( description: number, orderId: string, title: string, userId: number, userMobileNo: string, productType: string, amount: string, currency: string, notifyUrl: string, callbackUrl: string, orderExpireTime: string, goodsDetails: string, remark: string, ) { this.description = description; this.orderId = orderId; this.title = title; this.userId = userId; this.userMobileNo = userMobileNo; this.productType = productType; this.amount = amount; this.currency = currency; this.notifyUrl = notifyUrl; this.callbackUrl = callbackUrl; this.orderExpireTime = orderExpireTime; this.goodsDetails = goodsDetails; this.remark = remark; } toJSON(): object { return { description: this.description, orderId: this.orderId, title: this.title, userId: this.userId, userMobileNo: this.userMobileNo, productType: this.productType, amount: this.amount, currency: this.currency, notifyUrl: this.notifyUrl, callbackUrl: this.callbackUrl, orderExpireTime: this.orderExpireTime, goodsDetails: this.goodsDetails, remark: this.remark, }; } }