Class: Peddler::APIs::ShippingV1::AcceptedRate
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::AcceptedRate
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#billed_weight ⇒ Peddler::APIs::ShippingV1::Weight?
readonly
Returns the value of attribute billed_weight.
-
#promise ⇒ Peddler::APIs::ShippingV1::ShippingPromiseSet?
readonly
Returns the value of attribute promise.
-
#service_type ⇒ String?
readonly
Returns the value of attribute service_type.
-
#total_charge ⇒ Peddler::Money?
readonly
Returns the value of attribute total_charge.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :billed_weight, :promise, :service_type, :total_charge ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::AcceptedRate
Instance Method Summary collapse
-
#members ⇒ [ :billed_weight, :promise, :service_type, :total_charge ]
-
#to_h ⇒ { billed_weight: Peddler::APIs::ShippingV1::Weight?, promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, service_type: String?, total_charge: Peddler::Money? }
Instance Attribute Details
#billed_weight ⇒ Peddler::APIs::ShippingV1::Weight? (readonly)
Returns the value of attribute billed_weight.
14 15 16 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 14 def billed_weight @billed_weight end |
#promise ⇒ Peddler::APIs::ShippingV1::ShippingPromiseSet? (readonly)
Returns the value of attribute promise.
15 16 17 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 15 def promise @promise end |
#service_type ⇒ String? (readonly)
Returns the value of attribute service_type.
16 17 18 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 16 def service_type @service_type end |
#total_charge ⇒ Peddler::Money? (readonly)
Returns the value of attribute total_charge.
17 18 19 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 17 def total_charge @total_charge end |
Class Method Details
.[](billed_weight:, promise:, service_type:, total_charge:) ⇒ Peddler::APIs::ShippingV1::AcceptedRate .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::AcceptedRate
7 8 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 7
def self.[]: (?billed_weight: Peddler::APIs::ShippingV1::Weight?, ?promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, ?service_type: String?, ?total_charge: Peddler::Money?) -> Peddler::APIs::ShippingV1::AcceptedRate
| (Peddler::APIs::ShippingV1::Weight?, Peddler::APIs::ShippingV1::ShippingPromiseSet?, String?, Peddler::Money?) -> Peddler::APIs::ShippingV1::AcceptedRate
|
.members ⇒ [ :billed_weight, :promise, :service_type, :total_charge ]
10 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 10
def self.members: () -> [ :billed_weight, :promise, :service_type, :total_charge ]
|
.new(billed_weight:, promise:, service_type:, total_charge:) ⇒ Peddler::APIs::ShippingV1::AcceptedRate .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::AcceptedRate
5 6 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 5
def self.new: (?billed_weight: Peddler::APIs::ShippingV1::Weight?, ?promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, ?service_type: String?, ?total_charge: Peddler::Money?) -> Peddler::APIs::ShippingV1::AcceptedRate
| (Peddler::APIs::ShippingV1::Weight?, Peddler::APIs::ShippingV1::ShippingPromiseSet?, String?, Peddler::Money?) -> Peddler::APIs::ShippingV1::AcceptedRate
|
.parse ⇒ Peddler::APIs::ShippingV1::AcceptedRate
12 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::AcceptedRate
|
Instance Method Details
#members ⇒ [ :billed_weight, :promise, :service_type, :total_charge ]
19 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 19
def members: () -> [ :billed_weight, :promise, :service_type, :total_charge ]
|
#to_h ⇒ { billed_weight: Peddler::APIs::ShippingV1::Weight?, promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, service_type: String?, total_charge: Peddler::Money? }
20 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 20
def to_h: () -> { billed_weight: Peddler::APIs::ShippingV1::Weight?, promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, service_type: String?, total_charge: Peddler::Money? }
|