Class: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#channel_name ⇒ String (readonly)

Returns the value of attribute channel_name.

Returns:

  • (String)


462
463
464
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 462

def channel_name
  @channel_name
end

#custom_attributes ⇒ Array[String]? (readonly)

Returns the value of attribute custom_attributes.

Returns:

  • (Array[String], nil)


463
464
465
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 463

def custom_attributes
  @custom_attributes
end

#marketplace_id ⇒ String (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


464
465
466
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 464

def marketplace_id
  @marketplace_id
end

#merchant_id ⇒ String? (readonly)

Returns the value of attribute merchant_id.

Returns:

  • (String, nil)


465
466
467
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 465

def merchant_id
  @merchant_id
end

Class Method Details

.[](channel_name:, marketplace_id:, custom_attributes:, merchant_id:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

Overloads:



455
456
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 455

def self.[]: (channel_name: String, marketplace_id: String, ?custom_attributes: Array[String]?, ?merchant_id: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes
| (String, String, Array[String]?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

.members ⇒ [ :channel_name, :marketplace_id, :custom_attributes, :merchant_id ]

Returns:

  • ([ :channel_name, :marketplace_id, :custom_attributes, :merchant_id ])


458
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 458

def self.members: () -> [ :channel_name, :marketplace_id, :custom_attributes, :merchant_id ]

.new(channel_name:, marketplace_id:, custom_attributes:, merchant_id:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

Overloads:



453
454
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 453

def self.new: (channel_name: String, marketplace_id: String, ?custom_attributes: Array[String]?, ?merchant_id: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes
| (String, String, Array[String]?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

Parameters:

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

Returns:



460
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 460

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes

Instance Method Details

#members ⇒ [ :channel_name, :marketplace_id, :custom_attributes, :merchant_id ]

Returns:

  • ([ :channel_name, :marketplace_id, :custom_attributes, :merchant_id ])


467
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 467

def members: () -> [ :channel_name, :marketplace_id, :custom_attributes, :merchant_id ]

#to_h ⇒ { channel_name: String, marketplace_id: String, custom_attributes: Array[String]?, merchant_id: String? }

Returns:

  • ({ channel_name: String, marketplace_id: String, custom_attributes: Array[String]?, merchant_id: String? })


468
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 468

def to_h: () -> { channel_name: String, marketplace_id: String, custom_attributes: Array[String]?, merchant_id: String? }