Class: Stripe::QuoteLine::Action

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/quote_line.rb

Defined Under Namespace

Classes: AddDiscount, AddItem, RemoveDiscount, RemoveItem, SetDiscount, SetItem

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#add_discountObject (readonly)

Returns the value of attribute add_discount.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def add_discount
  @add_discount
end

#add_itemObject (readonly)

Returns the value of attribute add_item.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def add_item
  @add_item
end

#add_metadataObject (readonly)

Returns the value of attribute add_metadata.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def 
  @add_metadata
end

#remove_discountObject (readonly)

Returns the value of attribute remove_discount.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def remove_discount
  @remove_discount
end

#remove_itemObject (readonly)

Returns the value of attribute remove_item.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def remove_item
  @remove_item
end

#remove_metadataObject (readonly)

Returns the value of attribute remove_metadata.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def 
  @remove_metadata
end

#set_discountsObject (readonly)

Returns the value of attribute set_discounts.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def set_discounts
  @set_discounts
end

#set_itemsObject (readonly)

Returns the value of attribute set_items.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def set_items
  @set_items
end

#set_metadataObject (readonly)

Returns the value of attribute set_metadata.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def 
  @set_metadata
end

#typeObject (readonly)

Returns the value of attribute type.



65
66
67
# File 'lib/stripe/resources/quote_line.rb', line 65

def type
  @type
end