Class: Inttegro::Order::InvoiceSettingsResponse
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::InvoiceSettingsResponse
- Defined in:
- lib/inttegro/order/invoice_settings_response.rb
Overview
Persisted order-level invoice rendering data returned when at least one setting is present.
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
-
#custom_data ⇒ Inttegro::CustomData?
readonly
Merchant-defined string values attached to a resource.
-
#footer ⇒ String?
readonly
Optional invoice footer.
-
#memo ⇒ String?
readonly
Optional invoice memo.
-
#number ⇒ String?
readonly
Optional invoice number.
Instance Attribute Details
#custom_data ⇒ Inttegro::CustomData? (readonly)
Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map.
Optional in the API payload; omitted values default to nil. Wire name: custom_data.
43 44 45 46 47 48 |
# File 'lib/inttegro/order/invoice_settings_response.rb', line 43 class InvoiceSettingsResponse < T::Struct const :number, T.nilable(String), default: nil const :memo, T.nilable(String), default: nil const :footer, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil end |
#footer ⇒ String? (readonly)
Optional invoice footer.
Optional in the API payload; omitted values default to nil. Wire name: footer.
43 44 45 46 47 48 |
# File 'lib/inttegro/order/invoice_settings_response.rb', line 43 class InvoiceSettingsResponse < T::Struct const :number, T.nilable(String), default: nil const :memo, T.nilable(String), default: nil const :footer, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil end |
#memo ⇒ String? (readonly)
Optional invoice memo.
Optional in the API payload; omitted values default to nil. Wire name: memo.
43 44 45 46 47 48 |
# File 'lib/inttegro/order/invoice_settings_response.rb', line 43 class InvoiceSettingsResponse < T::Struct const :number, T.nilable(String), default: nil const :memo, T.nilable(String), default: nil const :footer, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil end |
#number ⇒ String? (readonly)
Optional invoice number.
Optional in the API payload; omitted values default to nil. Wire name: number.
43 44 45 46 47 48 |
# File 'lib/inttegro/order/invoice_settings_response.rb', line 43 class InvoiceSettingsResponse < T::Struct const :number, T.nilable(String), default: nil const :memo, T.nilable(String), default: nil const :footer, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil end |