mirror of
https://github.com/plutov/paypal.git
synced 2025-02-02 15:10:36 +01:00
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 structure
|
||||||
PaymentSource struct {
|
PaymentSource struct {
|
||||||
Card *PaymentSourceCard `json:"card"`
|
Card *PaymentSourceCard `json:"card,omitempty"`
|
||||||
Token *PaymentSourceToken `json:"token"`
|
Token *PaymentSourceToken `json:"token,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PaymentSourceCard structure
|
// PaymentSourceCard structure
|
||||||
|
|
Loading…
Reference in New Issue
Block a user