Class: Peddler::APIs::ShippingV2::CarrierAccount
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::CarrierAccount
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#carrier_account_id ⇒ String
readonly
Returns the value of attribute carrier_account_id.
-
#carrier_id ⇒ String
readonly
Returns the value of attribute carrier_id.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :carrier_account_id, :carrier_id ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ShippingV2::CarrierAccount
Instance Method Summary collapse
- #members ⇒ [ :carrier_account_id, :carrier_id ]
- #to_h ⇒ { carrier_account_id: String, carrier_id: String }
Instance Attribute Details
#carrier_account_id ⇒ String (readonly)
Returns the value of attribute carrier_account_id.
230 231 232 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 230 def carrier_account_id @carrier_account_id end |
#carrier_id ⇒ String (readonly)
Returns the value of attribute carrier_id.
231 232 233 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 231 def carrier_id @carrier_id end |
Class Method Details
.[](carrier_account_id:, carrier_id:) ⇒ Peddler::APIs::ShippingV2::CarrierAccount .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::CarrierAccount
223 224 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 223 def self.[]: (carrier_account_id: String, carrier_id: String) -> Peddler::APIs::ShippingV2::CarrierAccount | (String, String) -> Peddler::APIs::ShippingV2::CarrierAccount |
.members ⇒ [ :carrier_account_id, :carrier_id ]
226 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 226 def self.members: () -> [ :carrier_account_id, :carrier_id ] |
.new(carrier_account_id:, carrier_id:) ⇒ Peddler::APIs::ShippingV2::CarrierAccount .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::CarrierAccount
221 222 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 221 def self.new: (carrier_account_id: String, carrier_id: String) -> Peddler::APIs::ShippingV2::CarrierAccount | (String, String) -> Peddler::APIs::ShippingV2::CarrierAccount |
.parse ⇒ Peddler::APIs::ShippingV2::CarrierAccount
228 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 228 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::CarrierAccount |
Instance Method Details
#members ⇒ [ :carrier_account_id, :carrier_id ]
233 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 233 def members: () -> [ :carrier_account_id, :carrier_id ] |
#to_h ⇒ { carrier_account_id: String, carrier_id: String }
234 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 234 def to_h: () -> { carrier_account_id: String, carrier_id: String } |