Skip to content

Commit

Permalink
Add submerchant tax price
Browse files Browse the repository at this point in the history
  • Loading branch information
Alican Akkus authored and Alican Akkus committed Feb 20, 2025
1 parent e2721d2 commit 2eecf3a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions adapter/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@ type PaymentTransactionResponse struct {
MerchantPayoutAmount *float64 `json:"merchantPayoutAmount"`
SubMerchantMemberID *int64 `json:"subMerchantMemberId"`
SubMerchantMemberPrice *float64 `json:"subMerchantMemberPrice"`
SubMerchantMemberTaxPrice *float64 `json:"subMerchantMemberTaxPrice"`
SubMerchantMemberPayoutRate *float64 `json:"subMerchantMemberPayoutRate"`
SubMerchantMemberPayoutAmount *float64 `json:"subMerchantMemberPayoutAmount"`
Payout *Payout `json:"payout"`
Expand Down Expand Up @@ -1729,6 +1730,7 @@ type ReportingPaymentTransactionResponse struct {
MerchantPayoutAmount *float64 `json:"merchantPayoutAmount"`
SubMerchantMemberId *int64 `json:"subMerchantMemberId"`
SubMerchantMemberPrice *float64 `json:"subMerchantMemberPrice"`
SubMerchantMemberTaxPrice *float64 `json:"subMerchantMemberTaxPrice"`
SubMerchantMemberPayoutRate *float64 `json:"subMerchantMemberPayoutRate"`
SubMerchantMemberPayoutAmount *float64 `json:"subMerchantMemberPayoutAmount"`
TransactionStatus *TransactionStatus `json:"transactionStatus"`
Expand Down Expand Up @@ -2066,11 +2068,12 @@ type PosApmInstallment struct {
}

type PaymentItem struct {
Name string `json:"name,omitempty"`
Price float64 `json:"price,omitempty"`
ExternalId string `json:"externalId,omitempty"`
SubMerchantMemberId int64 `json:"subMerchantMemberId,omitempty"`
SubMerchantMemberPrice float64 `json:"subMerchantMemberPrice,omitempty"`
Name string `json:"name,omitempty"`
Price float64 `json:"price,omitempty"`
ExternalId string `json:"externalId,omitempty"`
SubMerchantMemberId int64 `json:"subMerchantMemberId,omitempty"`
SubMerchantMemberPrice float64 `json:"subMerchantMemberPrice,omitempty"`
SubMerchantMemberTaxPrice float64 `json:"subMerchantMemberTaxPrice,omitempty"`
}

type MasterpassCreatePayment struct {
Expand Down

0 comments on commit 2eecf3a

Please sign in to comment.