Class: Inttegro::Refund::OrderShippingLineItem
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::OrderShippingLineItem
- Defined in:
- lib/inttegro/refund/order_shipping_line_item.rb
Overview
Typed representation of the order shipping line item object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
Immutable order-line identifier with the
oli_prefix. -
#shipping ⇒ Inttegro::Refund::OrderShippingLineItemShipping
readonly
Value of the
shippingfield in the Inttegro API payload. -
#type ⇒ Inttegro::Refund::OrderShippingLineItemType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String (readonly)
Immutable order-line identifier with the oli_ prefix.
Required in the API payload. Wire name: id.
37 38 39 40 41 |
# File 'lib/inttegro/refund/order_shipping_line_item.rb', line 37 class OrderShippingLineItem < T::Struct const :id, String const :type, Inttegro::Refund::OrderShippingLineItemType const :shipping, Inttegro::Refund::OrderShippingLineItemShipping end |
#shipping ⇒ Inttegro::Refund::OrderShippingLineItemShipping (readonly)
Value of the shipping field in the Inttegro API payload.
Required in the API payload. Wire name: shipping.
37 38 39 40 41 |
# File 'lib/inttegro/refund/order_shipping_line_item.rb', line 37 class OrderShippingLineItem < T::Struct const :id, String const :type, Inttegro::Refund::OrderShippingLineItemType const :shipping, Inttegro::Refund::OrderShippingLineItemShipping end |
#type ⇒ Inttegro::Refund::OrderShippingLineItemType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
37 38 39 40 41 |
# File 'lib/inttegro/refund/order_shipping_line_item.rb', line 37 class OrderShippingLineItem < T::Struct const :id, String const :type, Inttegro::Refund::OrderShippingLineItemType const :shipping, Inttegro::Refund::OrderShippingLineItemShipping end |