Class: Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
- Defined in:
- sig/peddler/apis/invoices_2024_06_19.rbs
Instance Attribute Summary collapse
-
#contexts ⇒ Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?
readonly
Returns the value of attribute contexts.
-
#inbound_plan_id ⇒ String?
readonly
Returns the value of attribute inbound_plan_id.
-
#invoice_type ⇒ String
readonly
Returns the value of attribute invoice_type.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#shipment_id ⇒ String
readonly
Returns the value of attribute shipment_id.
-
#transaction_type ⇒ String
readonly
Returns the value of attribute transaction_type.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
Instance Method Summary collapse
- #members ⇒ [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ]
- #to_h ⇒ { invoice_type: String, marketplace_id: String, shipment_id: String, transaction_type: String, contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, inbound_plan_id: String? }
Instance Attribute Details
#contexts ⇒ Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]? (readonly)
Returns the value of attribute contexts.
248 249 250 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 248 def contexts @contexts end |
#inbound_plan_id ⇒ String? (readonly)
Returns the value of attribute inbound_plan_id.
249 250 251 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 249 def inbound_plan_id @inbound_plan_id end |
#invoice_type ⇒ String (readonly)
Returns the value of attribute invoice_type.
250 251 252 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 250 def invoice_type @invoice_type end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
251 252 253 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 251 def marketplace_id @marketplace_id end |
#shipment_id ⇒ String (readonly)
Returns the value of attribute shipment_id.
252 253 254 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 252 def shipment_id @shipment_id end |
#transaction_type ⇒ String (readonly)
Returns the value of attribute transaction_type.
253 254 255 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 253 def transaction_type @transaction_type end |
Class Method Details
.[](invoice_type:, marketplace_id:, shipment_id:, transaction_type:, contexts:, inbound_plan_id:) ⇒ Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
241 242 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 241 def self.[]: (invoice_type: String, marketplace_id: String, shipment_id: String, transaction_type: String, ?contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, ?inbound_plan_id: String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest | (String, String, String, String, Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest |
.members ⇒ [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ]
244 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 244 def self.members: () -> [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ] |
.new(invoice_type:, marketplace_id:, shipment_id:, transaction_type:, contexts:, inbound_plan_id:) ⇒ Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
239 240 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 239 def self.new: (invoice_type: String, marketplace_id: String, shipment_id: String, transaction_type: String, ?contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, ?inbound_plan_id: String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest | (String, String, String, String, Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest |
.parse ⇒ Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
246 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 246 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest |
Instance Method Details
#members ⇒ [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ]
255 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 255 def members: () -> [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ] |
#to_h ⇒ { invoice_type: String, marketplace_id: String, shipment_id: String, transaction_type: String, contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, inbound_plan_id: String? }
256 |
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 256 def to_h: () -> { invoice_type: String, marketplace_id: String, shipment_id: String, transaction_type: String, contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, inbound_plan_id: String? } |