mirror of
https://github.com/plutov/paypal.git
synced 2025-03-13 21:40:58 +01:00
Use uint64 instead of float64 for cycles remaining field for agreement details
This commit is contained in:
parent
3238c33de2
commit
6cadde7f46
2
types.go
2
types.go
|
@ -71,7 +71,7 @@ type (
|
|||
// AgreementDetails struct
|
||||
AgreementDetails struct {
|
||||
OutstandingBalance AmountPayout `json:"outstanding_balance"`
|
||||
CyclesRemaining float64 `json:"cycles_remaining,string"`
|
||||
CyclesRemaining uint64 `json:"cycles_remaining,string"`
|
||||
CyclesCompleted int `json:"cycles_completed,string"`
|
||||
NextBillingDate time.Time `json:"next_billing_date"`
|
||||
LastPaymentDate time.Time `json:"last_payment_date"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user