-
Notifications
You must be signed in to change notification settings - Fork 0
/
settlement.go
33 lines (24 loc) · 1.2 KB
/
settlement.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package circlesdk
// Settlement is the object contain the settlement data returned from the API.
type Settlement struct {
// Unique system generated identifier for the payment item.
ID string `json:"id,omitempty"`
// If this settlement was used for a marketplace payment, the wallet involved in the settlement.
// Not included for standard merchant settlements.
MerchantWalletID string `json:"merchantWalletId,omitempty"`
// If this settlement was used for a marketplace payment, the wallet involved in the settlement.
// Not included for standard merchant settlements.
WalletID string `json:"walletId,omitempty"`
// Total debits for the settlement
TotalDebits *Amount `json:"totalDebits,omitempty"`
// Total credits for the settlement
TotalCredits *Amount `json:"totalCredits,omitempty"`
// Payment fees for the settlement
PaymentFees *Amount `json:"paymentFees,omitempty"`
// Chargeback fees for the settlement
ChargebackFees *Amount `json:"chargebackFees,omitempty"`
// ISO-8601 UTC date/time format of the settlement creation date.
CreateDate string `json:"createDate,omitempty"`
// ISO-8601 UTC date/time format of the settlement update date.
UpdateDate string `json:"updateDate,omitempty"`
}