Class: Inttegro::Refund::OrderShippingLineItemShipping
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::OrderShippingLineItemShipping
- Defined in:
- lib/inttegro/refund/order_shipping_line_item_shipping.rb
Overview
Typed representation of the order shipping line item shipping 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
-
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#label ⇒ String?
readonly
Value of the
labelfield in the Inttegro API payload.
Instance Attribute Details
#description ⇒ String? (readonly)
Value of the description field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: description.
29 30 31 32 |
# File 'lib/inttegro/refund/order_shipping_line_item_shipping.rb', line 29 class OrderShippingLineItemShipping < T::Struct const :label, T.nilable(String), default: nil const :description, T.nilable(String), default: nil end |
#label ⇒ String? (readonly)
Value of the label field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: label.
29 30 31 32 |
# File 'lib/inttegro/refund/order_shipping_line_item_shipping.rb', line 29 class OrderShippingLineItemShipping < T::Struct const :label, T.nilable(String), default: nil const :description, T.nilable(String), default: nil end |