forked from go-packages/paypal
Update payment source type for optional fields (#216)
* updated payment source fields * revert * update payment source type
This commit is contained in:
parent
297b4fa2c6
commit
c2074af736
4
types.go
4
types.go
|
@ -801,8 +801,8 @@ type (
|
|||
|
||||
// PaymentSource structure
|
||||
PaymentSource struct {
|
||||
Card *PaymentSourceCard `json:"card"`
|
||||
Token *PaymentSourceToken `json:"token"`
|
||||
Card *PaymentSourceCard `json:"card,omitempty"`
|
||||
Token *PaymentSourceToken `json:"token,omitempty"`
|
||||
}
|
||||
|
||||
// PaymentSourceCard structure
|
||||
|
|
Loading…
Reference in New Issue
Block a user