Class: Peddler::APIs::ShippingV2::LinkableAccountType

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

#account_typeString? (readonly)

Returns the value of attribute account_type.

Returns:

  • (String, nil)


1211
1212
1213
# File 'sig/peddler/apis/shipping_v2.rbs', line 1211

def 
  @account_type
end

#carrier_account_inputsArray[Peddler::APIs::ShippingV2::CarrierAccountInput]? (readonly)

Returns the value of attribute carrier_account_inputs.



1212
1213
1214
# File 'sig/peddler/apis/shipping_v2.rbs', line 1212

def 
  @carrier_account_inputs
end

Class Method Details

.[](account_type:, carrier_account_inputs:) ⇒ Peddler::APIs::ShippingV2::LinkableAccountType .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::LinkableAccountType

Overloads:



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

def self.[]: (?account_type: String?, ?carrier_account_inputs: Array[Peddler::APIs::ShippingV2::CarrierAccountInput]?) -> Peddler::APIs::ShippingV2::LinkableAccountType
| (String?, Array[Peddler::APIs::ShippingV2::CarrierAccountInput]?) -> Peddler::APIs::ShippingV2::LinkableAccountType

.members[ :account_type, :carrier_account_inputs ]

Returns:

  • ([ :account_type, :carrier_account_inputs ])


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

def self.members: () -> [ :account_type, :carrier_account_inputs ]

.new(account_type:, carrier_account_inputs:) ⇒ Peddler::APIs::ShippingV2::LinkableAccountType .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::LinkableAccountType

Overloads:



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

def self.new: (?account_type: String?, ?carrier_account_inputs: Array[Peddler::APIs::ShippingV2::CarrierAccountInput]?) -> Peddler::APIs::ShippingV2::LinkableAccountType
| (String?, Array[Peddler::APIs::ShippingV2::CarrierAccountInput]?) -> Peddler::APIs::ShippingV2::LinkableAccountType

.parsePeddler::APIs::ShippingV2::LinkableAccountType

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :account_type, :carrier_account_inputs ]

Returns:

  • ([ :account_type, :carrier_account_inputs ])


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

def members: () -> [ :account_type, :carrier_account_inputs ]

#to_h{ account_type: String?, carrier_account_inputs: Array[Peddler::APIs::ShippingV2::CarrierAccountInput]? }

Returns:



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

def to_h: () -> { account_type: String?, carrier_account_inputs: Array[Peddler::APIs::ShippingV2::CarrierAccountInput]? }