Class: Peddler::APIs::ShippingV1::Rate
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::Rate
- 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.
-
#expiration_time ⇒ Time?
readonly
Returns the value of attribute expiration_time.
-
#promise ⇒ Peddler::APIs::ShippingV1::ShippingPromiseSet?
readonly
Returns the value of attribute promise.
-
#rate_id ⇒ String?
readonly
Returns the value of attribute rate_id.
-
#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, :expiration_time, :promise, :rate_id, :service_type, :total_charge ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::Rate
Instance Method Summary collapse
-
#members ⇒ [ :billed_weight, :expiration_time, :promise, :rate_id, :service_type, :total_charge ]
-
#to_h ⇒ { billed_weight: Peddler::APIs::ShippingV1::Weight?, expiration_time: Time?, promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, rate_id: String?, service_type: String?, total_charge: Peddler::Money? }
Instance Attribute Details
#billed_weight ⇒ Peddler::APIs::ShippingV1::Weight? (readonly)
Returns the value of attribute billed_weight.
577 578 579 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 577 def billed_weight @billed_weight end |
#expiration_time ⇒ Time? (readonly)
Returns the value of attribute expiration_time.
578 579 580 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 578 def expiration_time @expiration_time end |
#promise ⇒ Peddler::APIs::ShippingV1::ShippingPromiseSet? (readonly)
Returns the value of attribute promise.
579 580 581 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 579 def promise @promise end |
#rate_id ⇒ String? (readonly)
Returns the value of attribute rate_id.
580 581 582 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 580 def rate_id @rate_id end |
#service_type ⇒ String? (readonly)
Returns the value of attribute service_type.
581 582 583 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 581 def service_type @service_type end |
#total_charge ⇒ Peddler::Money? (readonly)
Returns the value of attribute total_charge.
582 583 584 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 582 def total_charge @total_charge end |
Class Method Details
.[](billed_weight:, expiration_time:, promise:, rate_id:, service_type:, total_charge:) ⇒ Peddler::APIs::ShippingV1::Rate .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::ShippingV1::Rate
570 571 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 570
def self.[]: (?billed_weight: Peddler::APIs::ShippingV1::Weight?, ?expiration_time: Time?, ?promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, ?rate_id: String?, ?service_type: String?, ?total_charge: Peddler::Money?) -> Peddler::APIs::ShippingV1::Rate
| (Peddler::APIs::ShippingV1::Weight?, Time?, Peddler::APIs::ShippingV1::ShippingPromiseSet?, String?, String?, Peddler::Money?) -> Peddler::APIs::ShippingV1::Rate
|
.members ⇒ [ :billed_weight, :expiration_time, :promise, :rate_id, :service_type, :total_charge ]
573 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 573
def self.members: () -> [ :billed_weight, :expiration_time, :promise, :rate_id, :service_type, :total_charge ]
|
.new(billed_weight:, expiration_time:, promise:, rate_id:, service_type:, total_charge:) ⇒ Peddler::APIs::ShippingV1::Rate .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::ShippingV1::Rate
568 569 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 568
def self.new: (?billed_weight: Peddler::APIs::ShippingV1::Weight?, ?expiration_time: Time?, ?promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, ?rate_id: String?, ?service_type: String?, ?total_charge: Peddler::Money?) -> Peddler::APIs::ShippingV1::Rate
| (Peddler::APIs::ShippingV1::Weight?, Time?, Peddler::APIs::ShippingV1::ShippingPromiseSet?, String?, String?, Peddler::Money?) -> Peddler::APIs::ShippingV1::Rate
|
.parse ⇒ Peddler::APIs::ShippingV1::Rate
575 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 575
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::Rate
|
Instance Method Details
#members ⇒ [ :billed_weight, :expiration_time, :promise, :rate_id, :service_type, :total_charge ]
584 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 584
def members: () -> [ :billed_weight, :expiration_time, :promise, :rate_id, :service_type, :total_charge ]
|
#to_h ⇒ { billed_weight: Peddler::APIs::ShippingV1::Weight?, expiration_time: Time?, promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, rate_id: String?, service_type: String?, total_charge: Peddler::Money? }
585 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 585
def to_h: () -> { billed_weight: Peddler::APIs::ShippingV1::Weight?, expiration_time: Time?, promise: Peddler::APIs::ShippingV1::ShippingPromiseSet?, rate_id: String?, service_type: String?, total_charge: Peddler::Money? }
|