Module: WhopSDK::Models::InvoiceCreateParams::Body
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/whop_sdk/models/invoice_create_params.rb
Overview
Parameters for CreateInvoice
Defined Under Namespace
Classes: CreateInvoiceInputWithProduct, CreateInvoiceInputWithProductID
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label:, unit_price:, quantity: nil) ⇒ Object
Some parameter documentations has been truncated, see CreateInvoiceInputWithProduct::LineItem for more details.
Methods included from Internal::Type::Union
==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProduct, WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProductID)
|
|
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1107
|
Instance Method Details
#initialize(label:, unit_price:, quantity: nil) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProduct::LineItem for more details.
A single line item to include on the invoice, with a label, quantity, and unit price.
|
|
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 565
|