Class: Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/invoices_2024_06_19.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contexts ⇒ Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]? (readonly)

Returns the value of attribute contexts.



249
250
251
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 249

def contexts
  @contexts
end

#inbound_plan_id ⇒ String? (readonly)

Returns the value of attribute inbound_plan_id.

Returns:

  • (String, nil)


250
251
252
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 250

def inbound_plan_id
  @inbound_plan_id
end

#invoice_type ⇒ String (readonly)

Returns the value of attribute invoice_type.

Returns:

  • (String)


251
252
253
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 251

def invoice_type
  @invoice_type
end

#marketplace_id ⇒ String (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


252
253
254
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 252

def marketplace_id
  @marketplace_id
end

#shipment_id ⇒ String (readonly)

Returns the value of attribute shipment_id.

Returns:

  • (String)


253
254
255
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 253

def shipment_id
  @shipment_id
end

#transaction_type ⇒ String (readonly)

Returns the value of attribute transaction_type.

Returns:

  • (String)


254
255
256
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 254

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

Overloads:



242
243
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 242

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 ]

Returns:

  • ([ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ])


245
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 245

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

Overloads:



240
241
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 240

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

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



247
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 247

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 ]

Returns:

  • ([ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ])


256
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 256

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? }

Returns:



257
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 257

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? }