Class: Peddler::APIs::ShippingV2::LinkableCarrier
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::LinkableCarrier
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#carrier_id ⇒ String?
readonly
Returns the value of attribute carrier_id.
-
#linkable_account_types ⇒ Array[Peddler::APIs::ShippingV2::LinkableAccountType]?
readonly
Returns the value of attribute linkable_account_types.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :carrier_id, :linkable_account_types ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::LinkableCarrier
Instance Method Summary collapse
-
#members ⇒ [ :carrier_id, :linkable_account_types ]
-
#to_h ⇒ { carrier_id: String?, linkable_account_types: Array[Peddler::APIs::ShippingV2::LinkableAccountType]? }
Instance Attribute Details
#carrier_id ⇒ String? (readonly)
Returns the value of attribute carrier_id.
1232 1233 1234 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1232 def carrier_id @carrier_id end |
#linkable_account_types ⇒ Array[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 @linkable_account_types end |
Class Method Details
.[](carrier_id:, linkable_account_types:) ⇒ Peddler::APIs::ShippingV2::LinkableCarrier .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::LinkableCarrier
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ShippingV2::LinkableCarrier
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 ]
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]? }
1236 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1236
def to_h: () -> { carrier_id: String?, linkable_account_types: Array[Peddler::APIs::ShippingV2::LinkableAccountType]? }
|