Skip to content

Commit

Permalink
add BillingAddress, Phone and AccountHolder to payment source with ID (
Browse files Browse the repository at this point in the history
  • Loading branch information
rockwelln authored Feb 5, 2025
1 parent 49f95cc commit c1d8d26
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions payments/nas/sources/sources.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ type (
}

requestIdSource struct {
Type payments.SourceType `json:"type,omitempty"`
Id string `json:"id,omitempty"`
Cvv string `json:"cvv,omitempty"`
PaymentMethod string `json:"payment_method,omitempty"`
Stored *bool `json:"stored,omitempty"`
StoreForFutureUse *bool `json:"storeForFutureUse,omitempty"`
Type payments.SourceType `json:"type,omitempty"`
Id string `json:"id,omitempty"`
Cvv string `json:"cvv,omitempty"`
PaymentMethod string `json:"payment_method,omitempty"`
Stored *bool `json:"stored,omitempty"`
StoreForFutureUse *bool `json:"storeForFutureUse,omitempty"`
BillingAddress *common.Address `json:"billing_address,omitempty"`
Phone *common.Phone `json:"phone,omitempty"`
AccountHolder *common.AccountHolder `json:"account_holder,omitempty"`
}

requestTokenSource struct {
Expand Down

0 comments on commit c1d8d26

Please sign in to comment.