class Braintree::Modification

Attributes

amount[R]
created_at[R]
current_billing_cycle[R]
description[R]
id[R]
kind[R]
merchant_id[R]
name[R]
never_expires[R]
number_of_billing_cycles[R]
quantity[R]
updated_at[R]

Public Class Methods

_new(*args) click to toggle source
# File lib/braintree/modification.rb, line 20
def _new(*args)
  self.new(*args)
end
new(attributes) click to toggle source
# File lib/braintree/modification.rb, line 25
def initialize(attributes)
  set_instance_variables_from_hash(attributes)
  @amount = Util.to_big_decimal(amount)
end

Public Instance Methods

never_expires?() click to toggle source
# File lib/braintree/modification.rb, line 30
def never_expires?
  @never_expires
end