lib/recurly/resources/billing_info.rb in recurly-3.14.0 vs lib/recurly/resources/billing_info.rb in recurly-3.15.0
- old
+ new
@@ -44,9 +44,13 @@
# @!attribute payment_method
# @return [PaymentMethod]
define_attribute :payment_method, :PaymentMethod
+ # @!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.
+ define_attribute :primary_payment_method, :Boolean
+
# @!attribute updated_at
# @return [DateTime] When the billing information was last changed.
define_attribute :updated_at, DateTime
# @!attribute updated_by