Class: Peddler::APIs::FulfillmentInbound20240320::Quote

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#costPeddler::Money (readonly)

Returns the value of attribute cost.

Returns:



1523
1524
1525
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1523

def cost
  @cost
end

#expirationTime? (readonly)

Returns the value of attribute expiration.

Returns:

  • (Time, nil)


1524
1525
1526
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1524

def expiration
  @expiration
end

#voidable_untilTime? (readonly)

Returns the value of attribute voidable_until.

Returns:

  • (Time, nil)


1525
1526
1527
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1525

def voidable_until
  @voidable_until
end

Class Method Details

.[](cost:, expiration:, voidable_until:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Quote .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::Quote

Overloads:



1516
1517
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1516

def self.[]: (cost: Peddler::Money, ?expiration: Time?, ?voidable_until: Time?) -> Peddler::APIs::FulfillmentInbound20240320::Quote
| (Peddler::Money, Time?, Time?) -> Peddler::APIs::FulfillmentInbound20240320::Quote

.members[ :cost, :expiration, :voidable_until ]

Returns:

  • ([ :cost, :expiration, :voidable_until ])


1519
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1519

def self.members: () -> [ :cost, :expiration, :voidable_until ]

.new(cost:, expiration:, voidable_until:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Quote .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::Quote

Overloads:



1514
1515
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1514

def self.new: (cost: Peddler::Money, ?expiration: Time?, ?voidable_until: Time?) -> Peddler::APIs::FulfillmentInbound20240320::Quote
| (Peddler::Money, Time?, Time?) -> Peddler::APIs::FulfillmentInbound20240320::Quote

.parsePeddler::APIs::FulfillmentInbound20240320::Quote

Parameters:

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

Returns:



1521
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1521

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::Quote

Instance Method Details

#members[ :cost, :expiration, :voidable_until ]

Returns:

  • ([ :cost, :expiration, :voidable_until ])


1527
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1527

def members: () -> [ :cost, :expiration, :voidable_until ]

#to_h{ cost: Peddler::Money, expiration: Time?, voidable_until: Time? }

Returns:

  • ({ cost: Peddler::Money, expiration: Time?, voidable_until: Time? })


1528
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1528

def to_h: () -> { cost: Peddler::Money, expiration: Time?, voidable_until: Time? }