forked from go-packages/paypal
Add omitempty to JSON tags to PaymentSourceCard type
This commit is contained in:
parent
27ffa97190
commit
6217511bbd
16
types.go
16
types.go
|
@ -1057,14 +1057,14 @@ type (
|
|||
|
||||
// PaymentSourceCard structure
|
||||
PaymentSourceCard struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Number string `json:"number"`
|
||||
Expiry string `json:"expiry"`
|
||||
SecurityCode string `json:"security_code"`
|
||||
LastDigits string `json:"last_digits"`
|
||||
CardType string `json:"card_type"`
|
||||
BillingAddress *CardBillingAddress `json:"billing_address"`
|
||||
ID string `json:"id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Number string `json:"number,omitempty"`
|
||||
Expiry string `json:"expiry,omitempty"`
|
||||
SecurityCode string `json:"security_code,omitempty"`
|
||||
LastDigits string `json:"last_digits,omitempty"`
|
||||
CardType string `json:"card_type,omitempty"`
|
||||
BillingAddress *CardBillingAddress `json:"billing_address,omitempty"`
|
||||
}
|
||||
|
||||
// PaymentSourcePaypal structure
|
||||
|
|
Loading…
Reference in New Issue
Block a user