mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
int in str unmarshall fixed
This commit is contained in:
parent
08b9849c20
commit
f788a0929c
6
types.go
6
types.go
|
@ -61,13 +61,13 @@ type (
|
||||||
// AgreementDetails struct
|
// AgreementDetails struct
|
||||||
AgreementDetails struct {
|
AgreementDetails struct {
|
||||||
OutstandingBalance AmountPayout `json:"outstanding_balance"`
|
OutstandingBalance AmountPayout `json:"outstanding_balance"`
|
||||||
CyclesRemaining int `json:"cycles_remaining"`
|
CyclesRemaining int `json:"cycles_remaining,string"`
|
||||||
CyclesCompleted int `json:"cycles_completed"`
|
CyclesCompleted int `json:"cycles_completed,string"`
|
||||||
NextBillingDate time.Time `json:"next_billing_date"`
|
NextBillingDate time.Time `json:"next_billing_date"`
|
||||||
LastPaymentDate time.Time `json:"last_payment_date"`
|
LastPaymentDate time.Time `json:"last_payment_date"`
|
||||||
LastPaymentAmount AmountPayout `json:"last_payment_amount"`
|
LastPaymentAmount AmountPayout `json:"last_payment_amount"`
|
||||||
FinalPaymentDate time.Time `json:"final_payment_date"`
|
FinalPaymentDate time.Time `json:"final_payment_date"`
|
||||||
FailedPaymentCount int `json:"failed_payment_count"`
|
FailedPaymentCount int `json:"failed_payment_count,string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Amount struct
|
// Amount struct
|
||||||
|
|
Loading…
Reference in New Issue
Block a user