Class: Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#carrier_code_typeString? (readonly)

Returns the value of attribute carrier_code_type.

Returns:

  • (String, nil)


40
41
42
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 40

def carrier_code_type
  @carrier_code_type
end

#carrier_code_valueString? (readonly)

Returns the value of attribute carrier_code_value.

Returns:

  • (String, nil)


41
42
43
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 41

def carrier_code_value
  @carrier_code_value
end

Class Method Details

.[](carrier_code_type:, carrier_code_value:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode .[](arg0, arg1) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode

Overloads:



33
34
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 33

def self.[]: (?carrier_code_type: String?, ?carrier_code_value: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode
| (String?, String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode

.members[ :carrier_code_type, :carrier_code_value ]

Returns:

  • ([ :carrier_code_type, :carrier_code_value ])


36
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 36

def self.members: () -> [ :carrier_code_type, :carrier_code_value ]

.new(carrier_code_type:, carrier_code_value:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode .new(arg0, arg1) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode

Overloads:



31
32
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 31

def self.new: (?carrier_code_type: String?, ?carrier_code_value: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode
| (String?, String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode

.parsePeddler::APIs::AmazonWarehousingAndDistribution20240509::CarrierCode

Parameters:

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

Returns:



38
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 38

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

Instance Method Details

#members[ :carrier_code_type, :carrier_code_value ]

Returns:

  • ([ :carrier_code_type, :carrier_code_value ])


43
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 43

def members: () -> [ :carrier_code_type, :carrier_code_value ]

#to_h{ carrier_code_type: String?, carrier_code_value: String? }

Returns:

  • ({ carrier_code_type: String?, carrier_code_value: String? })


44
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 44

def to_h: () -> { carrier_code_type: String?, carrier_code_value: String? }