Class: Stigg::Models::V1::Events::Credits::GrantCreateParams::BillingInformation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/events/credits/grant_create_params.rb

Defined Under Namespace

Classes: BillingAddress

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(billing_address: nil, invoice_days_until_due: nil, is_invoice_paid: nil) ⇒ Object

Billing information for the credit grant

Parameters:



# File 'lib/stigg/models/v1/events/credits/grant_create_params.rb', line 180

Instance Attribute Details

#billing_addressStigg::Models::V1::Events::Credits::GrantCreateParams::BillingInformation::BillingAddress?

The billing address



162
163
164
165
166
# File 'lib/stigg/models/v1/events/credits/grant_create_params.rb', line 162

optional :billing_address,
-> {
  Stigg::V1::Events::Credits::GrantCreateParams::BillingInformation::BillingAddress
},
api_name: :billingAddress

#invoice_days_until_dueFloat?

Days until the invoice is due

Returns:

  • (Float, nil)


172
# File 'lib/stigg/models/v1/events/credits/grant_create_params.rb', line 172

optional :invoice_days_until_due, Float, api_name: :invoiceDaysUntilDue

#is_invoice_paidBoolean?

Whether the invoice is already paid

Returns:

  • (Boolean, nil)


178
# File 'lib/stigg/models/v1/events/credits/grant_create_params.rb', line 178

optional :is_invoice_paid, Stigg::Internal::Type::Boolean, api_name: :isInvoicePaid