Class: Stripe::Product::PackageDimensions
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Product::PackageDimensions
- Defined in:
- lib/stripe/resources/product.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Height, in inches.
-
#length ⇒ Object
readonly
Length, in inches.
-
#weight ⇒ Object
readonly
Weight, in ounces.
-
#width ⇒ Object
readonly
Width, in inches.
Attributes inherited from StripeObject
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
#height ⇒ Object (readonly)
Height, in inches.
35 36 37 |
# File 'lib/stripe/resources/product.rb', line 35 def height @height end |
#length ⇒ Object (readonly)
Length, in inches.
38 39 40 |
# File 'lib/stripe/resources/product.rb', line 38 def length @length end |
#weight ⇒ Object (readonly)
Weight, in ounces.
41 42 43 |
# File 'lib/stripe/resources/product.rb', line 41 def weight @weight end |
#width ⇒ Object (readonly)
Width, in inches.
44 45 46 |
# File 'lib/stripe/resources/product.rb', line 44 def width @width end |