Skip to content

Commit

Permalink
Make PaymentIntent on Charge expandable for a future potential Ch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
remi-stripe committed Mar 27, 2020
1 parent 6109def commit 6fe223d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charge.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ type Charge struct {
OnBehalfOf *Account `json:"on_behalf_of"`
Outcome *ChargeOutcome `json:"outcome"`
Paid bool `json:"paid"`
PaymentIntent string `json:"payment_intent"`
PaymentIntent *PaymentIntent `json:"payment_intent"`
PaymentMethod string `json:"payment_method"`
PaymentMethodDetails *ChargePaymentMethodDetails `json:"payment_method_details"`
ReceiptEmail string `json:"receipt_email"`
Expand Down

0 comments on commit 6fe223d

Please sign in to comment.