lib/braintree/subscription.rb in braintree-2.78.0 vs lib/braintree/subscription.rb in braintree-2.79.0
- old
+ new
@@ -32,10 +32,11 @@
attr_reader :transactions
attr_reader :next_billing_period_amount
attr_reader :number_of_billing_cycles, :billing_day_of_month
attr_reader :add_ons, :discounts
attr_reader :descriptor
+ attr_reader :description
attr_reader :current_billing_cycle
attr_reader :updated_at, :created_at
attr_reader :status_history
def self.cancel(subscription_id)
@@ -52,11 +53,11 @@
def self.find(id)
Configuration.gateway.subscription.find(id)
end
- def self.retry_charge(subscription_id, amount=nil)
- Configuration.gateway.transaction.retry_subscription_charge(subscription_id, amount)
+ def self.retry_charge(subscription_id, amount=nil, submit_for_settlement=false)
+ Configuration.gateway.transaction.retry_subscription_charge(subscription_id, amount, submit_for_settlement)
end
def self.search(&block)
Configuration.gateway.subscription.search(&block)
end