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.
1686 1687 1688 1689 1690 1691 |
# File 'lib/stripe/resources/order.rb', line 1686 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.
1678 1679 1680 |
# File 'lib/stripe/resources/order.rb', line 1678 def height @height end |
#length ⇒ Object
Length, in inches. Maximum precision is 2 decimal places.
1680 1681 1682 |
# File 'lib/stripe/resources/order.rb', line 1680 def length @length end |
#weight ⇒ Object
Weight, in ounces. Maximum precision is 2 decimal places.
1682 1683 1684 |
# File 'lib/stripe/resources/order.rb', line 1682 def weight @weight end |
#width ⇒ Object
Width, in inches. Maximum precision is 2 decimal places.
1684 1685 1686 |
# File 'lib/stripe/resources/order.rb', line 1684 def width @width end |