Class: Inttegro::Refund::OrderProductLineItemProduct
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::OrderProductLineItemProduct
- Defined in:
- lib/inttegro/refund/order_product_line_item_product.rb
Overview
Typed representation of the order product line item product 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
Source catalog product identifier.
-
#name ⇒ String
readonly
Product name captured on the order.
Instance Attribute Details
#id ⇒ String? (readonly)
Source catalog product identifier. Omitted for inline products.
Optional in the API payload; omitted values default to nil. Wire name: id.
29 30 31 32 |
# File 'lib/inttegro/refund/order_product_line_item_product.rb', line 29 class OrderProductLineItemProduct < T::Struct const :id, T.nilable(String), default: nil const :name, String end |
#name ⇒ String (readonly)
Product name captured on the order.
Required in the API payload. Wire name: name.
29 30 31 32 |
# File 'lib/inttegro/refund/order_product_line_item_product.rb', line 29 class OrderProductLineItemProduct < T::Struct const :id, T.nilable(String), default: nil const :name, String end |