Class: WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProduct::BillingAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProduct::BillingAddress
- Defined in:
- lib/whop_sdk/models/invoice_create_params.rb,
sig/whop_sdk/models/invoice_create_params.rbs
Overview
Instance Attribute Summary collapse
-
#city ⇒ String?
The city of the address.
-
#country ⇒ String?
The country of the address.
-
#line1 ⇒ String?
The line 1 of the address.
-
#line2 ⇒ String?
The line 2 of the address.
-
#name ⇒ String?
The name of the customer.
-
#phone ⇒ String?
The phone number of the customer.
-
#postal_code ⇒ String?
The postal code of the address.
-
#state ⇒ String?
The state of the address.
-
#tax_id_type ⇒ Symbol, ...
The type of tax identifier.
-
#tax_id_value ⇒ String?
The value of the tax identifier.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
342 |
# File 'sig/whop_sdk/models/invoice_create_params.rbs', line 342
def initialize: (
|
Instance Attribute Details
#city ⇒ String?
The city of the address.
480 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 480 optional :city, String, nil?: true |
#country ⇒ String?
The country of the address.
486 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 486 optional :country, String, nil?: true |
#line1 ⇒ String?
The line 1 of the address.
492 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 492 optional :line1, String, nil?: true |
#line2 ⇒ String?
The line 2 of the address.
498 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 498 optional :line2, String, nil?: true |
#name ⇒ String?
The name of the customer.
504 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 504 optional :name, String, nil?: true |
#phone ⇒ String?
The phone number of the customer.
510 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 510 optional :phone, String, nil?: true |
#postal_code ⇒ String?
The postal code of the address.
516 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 516 optional :postal_code, String, nil?: true |
#state ⇒ String?
The state of the address.
522 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 522 optional :state, String, nil?: true |
#tax_id_type ⇒ Symbol, ...
The type of tax identifier
528 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 528 optional :tax_id_type, enum: -> { WhopSDK::TaxIdentifierType }, nil?: true |
#tax_id_value ⇒ String?
The value of the tax identifier.
534 |
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 534 optional :tax_id_value, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
355 |
# File 'sig/whop_sdk/models/invoice_create_params.rbs', line 355
def to_hash: -> {
|