Class: Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#packing_groupString? (readonly)

Returns the value of attribute packing_group.

Returns:

  • (String, nil)


271
272
273
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 271

def packing_group
  @packing_group
end

#packing_instructionString? (readonly)

Returns the value of attribute packing_instruction.

Returns:

  • (String, nil)


272
273
274
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 272

def packing_instruction
  @packing_instruction
end

#transportation_regulatory_classString? (readonly)

Returns the value of attribute transportation_regulatory_class.

Returns:

  • (String, nil)


273
274
275
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 273

def transportation_regulatory_class
  @transportation_regulatory_class
end

#united_nations_regulatory_idString? (readonly)

Returns the value of attribute united_nations_regulatory_id.

Returns:

  • (String, nil)


274
275
276
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 274

def united_nations_regulatory_id
  @united_nations_regulatory_id
end

Class Method Details

.[](packing_group:, packing_instruction:, transportation_regulatory_class:, united_nations_regulatory_id:) ⇒ Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails

Overloads:



264
265
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 264

def self.[]: (?packing_group: String?, ?packing_instruction: String?, ?transportation_regulatory_class: String?, ?united_nations_regulatory_id: String?) -> Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails
| (String?, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails

.members[ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]

Returns:

  • ([ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ])


267
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 267

def self.members: () -> [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]

.new(packing_group:, packing_instruction:, transportation_regulatory_class:, united_nations_regulatory_id:) ⇒ Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails

Overloads:



262
263
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 262

def self.new: (?packing_group: String?, ?packing_instruction: String?, ?transportation_regulatory_class: String?, ?united_nations_regulatory_id: String?) -> Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails
| (String?, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails

.parsePeddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails

Parameters:

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

Returns:



269
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 269

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

Instance Method Details

#members[ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]

Returns:

  • ([ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ])


276
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 276

def members: () -> [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]

#to_h{ packing_group: String?, packing_instruction: String?, transportation_regulatory_class: String?, united_nations_regulatory_id: String? }

Returns:

  • ({ packing_group: String?, packing_instruction: String?, transportation_regulatory_class: String?, united_nations_regulatory_id: String? })


277
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 277

def to_h: () -> { packing_group: String?, packing_instruction: String?, transportation_regulatory_class: String?, united_nations_regulatory_id: String? }