Class: Peddler::APIs::ShippingV1::Rate

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.



577
578
579
# File 'sig/peddler/apis/shipping_v1.rbs', line 577

def billed_weight
  @billed_weight
end

#expiration_timeTime? (readonly)

Returns the value of attribute expiration_time.

Returns:

  • (Time, nil)


578
579
580
# File 'sig/peddler/apis/shipping_v1.rbs', line 578

def expiration_time
  @expiration_time
end

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

Returns the value of attribute rate_id.

Returns:

  • (String, nil)


580
581
582
# File 'sig/peddler/apis/shipping_v1.rbs', line 580

def rate_id
  @rate_id
end

#service_typeString? (readonly)

Returns the value of attribute service_type.

Returns:

  • (String, nil)


581
582
583
# File 'sig/peddler/apis/shipping_v1.rbs', line 581

def service_type
  @service_type
end

#total_chargePeddler::Money? (readonly)

Returns the value of attribute total_charge.

Returns:



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

Overloads:



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 ]

Returns:

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

Overloads:



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

.parsePeddler::APIs::ShippingV1::Rate

Parameters:

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

Returns:



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 ]

Returns:

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

Returns:



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