Class: WhopSDK::Models::CardListResponse::Data::Billing

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

Overview

See Also:

  • WhopSDK::Models::CardListResponse::Data#billing

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



124
# File 'sig/whop_sdk/models/card_list_response.rbs', line 124

def initialize: (

Instance Attribute Details

#cityString?

Billing city.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


146
# File 'lib/whop_sdk/models/card_list_response.rb', line 146

required :city, String, nil?: true

#country_codeString?

Billing country code.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


152
# File 'lib/whop_sdk/models/card_list_response.rb', line 152

required :country_code, String, nil?: true

#line1String?

Street address line 1.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


158
# File 'lib/whop_sdk/models/card_list_response.rb', line 158

required :line1, String, nil?: true

#line2String?

Street address line 2.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


164
# File 'lib/whop_sdk/models/card_list_response.rb', line 164

required :line2, String, nil?: true

#postal_codeString?

Billing postal code.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


170
# File 'lib/whop_sdk/models/card_list_response.rb', line 170

required :postal_code, String, nil?: true

#regionString?

Billing region or state.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


176
# File 'lib/whop_sdk/models/card_list_response.rb', line 176

required :region, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


133
# File 'sig/whop_sdk/models/card_list_response.rbs', line 133

def to_hash: -> {