Class: Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#amount ⇒ Peddler::Money?
readonly
Returns the value of attribute amount.
-
#id ⇒ String
readonly
Returns the value of attribute id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :id, :amount ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute amount.
1371 1372 1373 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1371 def amount @amount end |
#id ⇒ String (readonly)
Returns the value of attribute id.
1372 1373 1374 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1372 def id @id end |
Class Method Details
.[](id:, amount:) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
1364 1365 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1364
def self.[]: (id: String, ?amount: Peddler::Money?) -> Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
| (String, Peddler::Money?) -> Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
|
.members ⇒ [ :id, :amount ]
1367 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1367
def self.members: () -> [ :id, :amount ]
|
.new(id:, amount:) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
1362 1363 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1362
def self.new: (id: String, ?amount: Peddler::Money?) -> Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
| (String, Peddler::Money?) -> Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
|
.parse ⇒ Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
1369 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1369
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService
|
Instance Method Details
#members ⇒ [ :id, :amount ]
1374 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1374
def members: () -> [ :id, :amount ]
|
#to_h ⇒ { id: String, amount: Peddler::Money? }
1375 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1375
def to_h: () -> { id: String, amount: Peddler::Money? }
|