Class: Peddler::APIs::FulfillmentInbound20240320::Quote
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::Quote
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#cost ⇒ Peddler::Money
readonly
Returns the value of attribute cost.
-
#expiration ⇒ Time?
readonly
Returns the value of attribute expiration.
-
#voidable_until ⇒ Time?
readonly
Returns the value of attribute voidable_until.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :cost, :expiration, :voidable_until ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Quote
Instance Method Summary collapse
-
#members ⇒ [ :cost, :expiration, :voidable_until ]
-
#to_h ⇒ { cost: Peddler::Money, expiration: Time?, voidable_until: Time? }
Instance Attribute Details
#cost ⇒ Peddler::Money (readonly)
Returns the value of attribute cost.
1523 1524 1525 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1523 def cost @cost end |
#expiration ⇒ Time? (readonly)
Returns the value of attribute expiration.
1524 1525 1526 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1524 def expiration @expiration end |
#voidable_until ⇒ Time? (readonly)
Returns the value of attribute voidable_until.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Quote
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 ]
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? }
1528 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1528
def to_h: () -> { cost: Peddler::Money, expiration: Time?, voidable_until: Time? }
|