palmpaywrappersdk
Version:
PalmPay Wrapper Sdk
35 lines (22 loc) • 915 B
text/typescript
import { ClassTransformer } from "class-transformer";
import { Expose, Transform } from 'class-transformer';
import { Fee } from './Fee';
// PayInCreateOrderResponse.ts
export class MerchantBalanceResponse {
availableBalance: number;
frozenBalance: number;
currentBalance: number;
unsettleBalance: number
guaranteedBalance: number;
accountId: string
canTopUp: string
constructor(availableBalance: number, frozenBalance: number, currentBalance: number, unsettleBalance: number, guaranteedBalance: number, accountId: string, canTopUp: string) {
this.availableBalance = availableBalance;
this.frozenBalance = frozenBalance;
this.currentBalance = currentBalance;
this.unsettleBalance = unsettleBalance;
this.guaranteedBalance = guaranteedBalance;
this.accountId = accountId;
this.canTopUp = canTopUp;
}
}