Class: Inttegro::Price::UpdateRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Price::UpdateRequest
- Defined in:
- lib/inttegro/price/update_request.rb
Overview
Typed representation of the update request 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
-
#about ⇒ String?
readonly
Longer description of this price (max 500 characters).
-
#label ⇒ String?
readonly
Short label for this price (max 100 characters).
-
#price_id ⇒ String
readonly
The unique identifier of the price to update.
Instance Attribute Details
#about ⇒ String? (readonly)
Longer description of this price (max 500 characters)
Optional in the API payload; omitted values default to nil. Wire name: about.
35 36 37 38 39 |
# File 'lib/inttegro/price/update_request.rb', line 35 class UpdateRequest < T::Struct const :price_id, String const :label, T.nilable(String), default: nil const :about, T.nilable(String), default: nil end |
#label ⇒ String? (readonly)
Short label for this price (max 100 characters)
Optional in the API payload; omitted values default to nil. Wire name: label.
35 36 37 38 39 |
# File 'lib/inttegro/price/update_request.rb', line 35 class UpdateRequest < T::Struct const :price_id, String const :label, T.nilable(String), default: nil const :about, T.nilable(String), default: nil end |
#price_id ⇒ String (readonly)
The unique identifier of the price to update
Required in the API payload. Wire name: price_id.
35 36 37 38 39 |
# File 'lib/inttegro/price/update_request.rb', line 35 class UpdateRequest < T::Struct const :price_id, String const :label, T.nilable(String), default: nil const :about, T.nilable(String), default: nil end |