Class: Peddler::APIs::ShippingV2::LinkableCarrier

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#carrier_idString? (readonly)

Returns the value of attribute carrier_id.

Returns:

  • (String, nil)


1232
1233
1234
# File 'sig/peddler/apis/shipping_v2.rbs', line 1232

def carrier_id
  @carrier_id
end

#linkable_account_typesArray[Peddler::APIs::ShippingV2::LinkableAccountType]? (readonly)

Returns the value of attribute linkable_account_types.



1233
1234
1235
# File 'sig/peddler/apis/shipping_v2.rbs', line 1233

def 
  @linkable_account_types
end

Class Method Details

.[](carrier_id:, linkable_account_types:) ⇒ Peddler::APIs::ShippingV2::LinkableCarrier .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::LinkableCarrier

Overloads:



1225
1226
# File 'sig/peddler/apis/shipping_v2.rbs', line 1225

def self.[]: (?carrier_id: String?, ?linkable_account_types: Array[Peddler::APIs::ShippingV2::LinkableAccountType]?) -> Peddler::APIs::ShippingV2::LinkableCarrier
| (String?, Array[Peddler::APIs::ShippingV2::LinkableAccountType]?) -> Peddler::APIs::ShippingV2::LinkableCarrier

.members[ :carrier_id, :linkable_account_types ]

Returns:

  • ([ :carrier_id, :linkable_account_types ])


1228
# File 'sig/peddler/apis/shipping_v2.rbs', line 1228

def self.members: () -> [ :carrier_id, :linkable_account_types ]

.new(carrier_id:, linkable_account_types:) ⇒ Peddler::APIs::ShippingV2::LinkableCarrier .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::LinkableCarrier

Overloads:



1223
1224
# File 'sig/peddler/apis/shipping_v2.rbs', line 1223

def self.new: (?carrier_id: String?, ?linkable_account_types: Array[Peddler::APIs::ShippingV2::LinkableAccountType]?) -> Peddler::APIs::ShippingV2::LinkableCarrier
| (String?, Array[Peddler::APIs::ShippingV2::LinkableAccountType]?) -> Peddler::APIs::ShippingV2::LinkableCarrier

.parsePeddler::APIs::ShippingV2::LinkableCarrier

Parameters:

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

Returns:



1230
# File 'sig/peddler/apis/shipping_v2.rbs', line 1230

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

Instance Method Details

#members[ :carrier_id, :linkable_account_types ]

Returns:

  • ([ :carrier_id, :linkable_account_types ])


1235
# File 'sig/peddler/apis/shipping_v2.rbs', line 1235

def members: () -> [ :carrier_id, :linkable_account_types ]

#to_h{ carrier_id: String?, linkable_account_types: Array[Peddler::APIs::ShippingV2::LinkableAccountType]? }

Returns:



1236
# File 'sig/peddler/apis/shipping_v2.rbs', line 1236

def to_h: () -> { carrier_id: String?, linkable_account_types: Array[Peddler::APIs::ShippingV2::LinkableAccountType]? }