Class: Inttegro::Product::Updated
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Product::Updated
- Defined in:
- lib/inttegro/product/updated.rb
Overview
Typed representation of the updated 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
Value of the
aboutfield in the Inttegro API payload. -
#category ⇒ String?
readonly
Value of the
categoryfield in the Inttegro API payload. -
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#custom_data ⇒ Inttegro::CustomData?
readonly
Merchant-defined string values attached to a resource.
-
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#dimensions ⇒ Inttegro::Product::Dimensions?
readonly
At most one of
physical,digital, orcustom. -
#id ⇒ String
readonly
Product identifier returned by the update operation.
-
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#prices ⇒ Array<Inttegro::Product::PriceSummary>?
readonly
Value of the
pricesfield in the Inttegro API payload. -
#reference ⇒ String?
readonly
Value of the
referencefield in the Inttegro API payload. -
#tax_code ⇒ String?
readonly
Value of the
tax_codefield in the Inttegro API payload. -
#type ⇒ Inttegro::Product::Type
readonly
Value of the
typefield in the Inttegro API payload. -
#unit_dim ⇒ String?
readonly
Value of the
unit_dimfield in the Inttegro API payload. -
#updated_at ⇒ Time?
readonly
Value of the
updated_atfield in the Inttegro API payload.
Instance Attribute Details
#about ⇒ String? (readonly)
Value of the about field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: about.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#category ⇒ String? (readonly)
Value of the category field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: category.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#created_at ⇒ Time (readonly)
Value of the created_at field in the Inttegro API payload.
Required in the API payload. Wire name: created_at.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#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.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#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.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#dimensions ⇒ Inttegro::Product::Dimensions? (readonly)
At most one of physical, digital, or custom.
Optional in the API payload; omitted values default to nil. Wire name: dimensions.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#id ⇒ String (readonly)
Product identifier returned by the update operation.
Required in the API payload. Wire name: id.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#prices ⇒ Array<Inttegro::Product::PriceSummary>? (readonly)
Value of the prices field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: prices.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#reference ⇒ String? (readonly)
Value of the reference field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reference.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#tax_code ⇒ String? (readonly)
Value of the tax_code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: tax_code.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#type ⇒ Inttegro::Product::Type (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#unit_dim ⇒ String? (readonly)
Value of the unit_dim field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: unit_dim.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#updated_at ⇒ Time? (readonly)
Value of the updated_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: updated_at.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/inttegro/product/updated.rb', line 106 class Updated < T::Struct const :id, String const :name, String const :description, T.nilable(String), default: nil const :about, T.nilable(String), default: nil const :type, Inttegro::Product::Type const :reference, T.nilable(String), default: nil const :tax_code, T.nilable(String), default: nil const :category, T.nilable(String), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :dimensions, T.nilable(Inttegro::Product::Dimensions), default: nil const :prices, T.nilable(T::Array[Inttegro::Product::PriceSummary]), default: nil const :unit_dim, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |