Class: Stripe::Order::UpdateParams::LineItem::ProductData::PackageDimensions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Order::UpdateParams::LineItem::ProductData::PackageDimensions
- Defined in:
- lib/stripe/resources/order.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Height, in inches.
-
#length ⇒ Object
Length, in inches.
-
#weight ⇒ Object
Weight, in ounces.
-
#width ⇒ Object
Width, in inches.
Instance Method Summary collapse
-
#initialize(height: nil, length: nil, weight: nil, width: nil) ⇒ PackageDimensions
constructor
A new instance of PackageDimensions.
Methods inherited from RequestParams
Constructor Details
#initialize(height: nil, length: nil, weight: nil, width: nil) ⇒ PackageDimensions
Returns a new instance of PackageDimensions.
1978 1979 1980 1981 1982 1983 |
# File 'lib/stripe/resources/order.rb', line 1978 def initialize(height: nil, length: nil, weight: nil, width: nil) @height = height @length = length @weight = weight @width = width end |
Instance Attribute Details
#height ⇒ Object
Height, in inches. Maximum precision is 2 decimal places.
1967 1968 1969 |
# File 'lib/stripe/resources/order.rb', line 1967 def height @height end |
#length ⇒ Object
Length, in inches. Maximum precision is 2 decimal places.
1970 1971 1972 |
# File 'lib/stripe/resources/order.rb', line 1970 def length @length end |
#weight ⇒ Object
Weight, in ounces. Maximum precision is 2 decimal places.
1973 1974 1975 |
# File 'lib/stripe/resources/order.rb', line 1973 def weight @weight end |
#width ⇒ Object
Width, in inches. Maximum precision is 2 decimal places.
1976 1977 1978 |
# File 'lib/stripe/resources/order.rb', line 1976 def width @width end |