diff --git a/types.go b/types.go index af048e7..edeb0c5 100644 --- a/types.go +++ b/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