Skip to content

Commit

Permalink
Merge pull request #291 from Roger13579/fix/newebpay-tradeInfo
Browse files Browse the repository at this point in the history
fix: modify vo fields name
  • Loading branch information
Roger13579 authored Jun 24, 2024
2 parents 14a85ff + 60950a1 commit 1975f11
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/vo/order/newebpayOrderVo.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
export class NewebpayOrderVo {
private readonly orderId: string;
private readonly merchantID: string;
private readonly tradeSha: string;
private readonly tradeInfo: string;
private readonly version: string;
private readonly MerchantID: string;
private readonly TradeSha: string;
private readonly TradeInfo: string;
private readonly Version: string;
private readonly paymentGateway: string;

constructor(orderId: string, tradeSha: string, tradeInfo: string) {
this.orderId = orderId;
this.merchantID = process.env.NEWEBPAY_MERCHANT_ID;
this.tradeSha = tradeSha;
this.tradeInfo = tradeInfo;
this.version = process.env.NEWEBPAY_VERSION;
this.MerchantID = process.env.NEWEBPAY_MERCHANT_ID;
this.TradeSha = tradeSha;
this.TradeInfo = tradeInfo;
this.Version = process.env.NEWEBPAY_VERSION;
this.paymentGateway = process.env.NEWEBPAY_PAY_GATEWAY;
}
}

0 comments on commit 1975f11

Please sign in to comment.