Class: WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProductID::BillingAddress

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/whop_sdk/models/invoice_create_params.rb,
sig/whop_sdk/models/invoice_create_params.rbs

Overview

See Also:

  • WhopSDK::Models::InvoiceCreateParams::Body::CreateInvoiceInputWithProductID#billing_address

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

#initializeObject



690
# File 'sig/whop_sdk/models/invoice_create_params.rbs', line 690

def initialize: (

Instance Attribute Details

#cityString?

The city of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1022
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1022

optional :city, String, nil?: true

#countryString?

The country of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1028
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1028

optional :country, String, nil?: true

#line1String?

The line 1 of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1034
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1034

optional :line1, String, nil?: true

#line2String?

The line 2 of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1040
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1040

optional :line2, String, nil?: true

#nameString?

The name of the customer.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1046
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1046

optional :name, String, nil?: true

#phoneString?

The phone number of the customer.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1052
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1052

optional :phone, String, nil?: true

#postal_codeString?

The postal code of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1058
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1058

optional :postal_code, String, nil?: true

#stateString?

The state of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1064
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1064

optional :state, String, nil?: true

#tax_id_typeSymbol, ...

The type of tax identifier

Parameters:

  • value (WhopSDK::Models::tax_identifier_type, nil)

Returns:



1070
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1070

optional :tax_id_type, enum: -> { WhopSDK::TaxIdentifierType }, nil?: true

#tax_id_valueString?

The value of the tax identifier.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1076
# File 'lib/whop_sdk/models/invoice_create_params.rb', line 1076

optional :tax_id_value, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


703
# File 'sig/whop_sdk/models/invoice_create_params.rbs', line 703

def to_hash: -> {