lib/recurly/requests/billing_info_create.rb in recurly-3.18.1 vs lib/recurly/requests/billing_info_create.rb in recurly-3.19.0

- old
+ new

@@ -20,10 +20,14 @@ # @!attribute amazon_billing_agreement_id # @return [String] Amazon billing agreement ID define_attribute :amazon_billing_agreement_id, String + # @!attribute backup_payment_method + # @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such. + define_attribute :backup_payment_method, :Boolean + # @!attribute company # @return [String] Company name define_attribute :company, String # @!attribute cvv @@ -73,11 +77,11 @@ # @!attribute paypal_billing_agreement_id # @return [String] PayPal billing agreement ID define_attribute :paypal_billing_agreement_id, String # @!attribute primary_payment_method - # @return [Boolean] The `primary_payment_method` indicator is used to designate the primary billing info on the account. The first billing info created on an account will always become primary. Adding additional billing infos provides the flexibility to mark another billing info as primary, or adding additional non-primary billing infos. This can be accomplished by passing the `primary_payment_method` indicator. When adding billing infos via the billing_info and /accounts endpoints, this value is not permitted, and will return an error if provided. + # @return [Boolean] The `primary_payment_method` field is used to designate the primary billing info on the account. The first billing info created on an account will always become primary. Adding additional billing infos provides the flexibility to mark another billing info as primary, or adding additional non-primary billing infos. This can be accomplished by passing the `primary_payment_method` with a value of `true`. When adding billing infos via the billing_info and /accounts endpoints, this value is not permitted, and will return an error if provided. define_attribute :primary_payment_method, :Boolean # @!attribute routing_number # @return [String] The bank's rounting number. (ACH only) define_attribute :routing_number, String @@ -105,10 +109,10 @@ # @!attribute transaction_type # @return [String] An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions. define_attribute :transaction_type, String # @!attribute type - # @return [String] The payment method type for a non-credit card based billing info. The value of `bacs` is the only accepted value (Bacs only) + # @return [String] The payment method type for a non-credit card based billing info. `bacs` and `becs` are the only accepted values. define_attribute :type, String # @!attribute vat_number # @return [String] VAT number define_attribute :vat_number, String