class Google::Apis::ContentV2::OrderPaymentMethod
Attributes
The billing address. Corresponds to the JSON property `billingAddress` @return [Google::Apis::ContentV2::OrderAddress]
The card expiration month (January = 1, February = 2 etc.). Corresponds to the JSON property `expirationMonth` @return [Fixnum]
The card expiration year (4-digit, e.g. 2015). Corresponds to the JSON property `expirationYear` @return [Fixnum]
The last four digits of the card number. Corresponds to the JSON property `lastFourDigits` @return [String]
The billing phone number. Corresponds to the JSON property `phoneNumber` @return [String]
The type of instrument. Acceptable values are: - “`AMEX`” - “`DISCOVER`” - “` JCB`” - “`MASTERCARD`” - “`UNIONPAY`” - “`VISA`” - ““” Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 5129 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 5134 def update!(**args) @billing_address = args[:billing_address] if args.key?(:billing_address) @expiration_month = args[:expiration_month] if args.key?(:expiration_month) @expiration_year = args[:expiration_year] if args.key?(:expiration_year) @last_four_digits = args[:last_four_digits] if args.key?(:last_four_digits) @phone_number = args[:phone_number] if args.key?(:phone_number) @type = args[:type] if args.key?(:type) end