Skip to content

Commit

Permalink
Fix types on params/resource
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Jul 5, 2018
1 parent ab6f46c commit 1171f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paymentintent.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type PaymentIntentParams struct {
AllowedSourceTypes []*string `form:"allowed_source_types"`
Amount *int64 `form:"amount"`
ApplicationFee *int64 `form:"application_fee"`
AttemptConfirmation *string `form:"attempt_confirmation"`
AttemptConfirmation *bool `form:"attempt_confirmation"`
CaptureMethod *string `form:"capture_method"`
Currency *string `form:"currency"`
Customer *string `form:"customer"`
Expand Down Expand Up @@ -142,7 +142,7 @@ type PaymentIntent struct {
ReceiptEmail string `json:"receipt_email"`
ReturnURL string `json:"return_url"`
Shipping ShippingDetails `json:"shipping"`
Source *PaymentSource `json:"source"`
Source *Source `json:"source"`
StatementDescriptor string `json:"statement_descriptor"`
Status PaymentIntentStatus `json:"status"`
TransferData *PaymentIntentTransferData `json:"transfer_data"`
Expand Down

0 comments on commit 1171f3f

Please sign in to comment.