Class: Peddler::APIs::ShippingV1::AcceptedRate

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipping_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#billed_weightPeddler::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

#promisePeddler::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_typeString? (readonly)

Returns the value of attribute service_type.

Returns:

  • (String, nil)


16
17
18
# File 'sig/peddler/apis/shipping_v1.rbs', line 16

def service_type
  @service_type
end

#total_chargePeddler::Money? (readonly)

Returns the value of attribute total_charge.

Returns:



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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ShippingV1::AcceptedRate

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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? }