Class: WhopSDK::Models::SetupIntentListResponse::PaymentMethod::MailingAddress

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/setup_intent_list_response.rb

Overview

See Also:

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(city:, country:, line1:, line2:, name:, postal_code:, state:) ⇒ Object

The mailing address associated with the payment method’s user

Parameters:

  • city (String, nil)

    The city of the address.

  • country (String, nil)

    The country of the address.

  • line1 (String, nil)

    The line 1 of the address.

  • line2 (String, nil)

    The line 2 of the address.

  • name (String, nil)

    The name of the customer.

  • postal_code (String, nil)

    The postal code of the address.

  • state (String, nil)

    The state of the address.



# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 323

Instance Attribute Details

#cityString?

The city of the address.

Returns:

  • (String, nil)


285
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 285

required :city, String, nil?: true

#countryString?

The country of the address.

Returns:

  • (String, nil)


291
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 291

required :country, String, nil?: true

#line1String?

The line 1 of the address.

Returns:

  • (String, nil)


297
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 297

required :line1, String, nil?: true

#line2String?

The line 2 of the address.

Returns:

  • (String, nil)


303
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 303

required :line2, String, nil?: true

#nameString?

The name of the customer.

Returns:

  • (String, nil)


309
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 309

required :name, String, nil?: true

#postal_codeString?

The postal code of the address.

Returns:

  • (String, nil)


315
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 315

required :postal_code, String, nil?: true

#stateString?

The state of the address.

Returns:

  • (String, nil)


321
# File 'lib/whop_sdk/models/setup_intent_list_response.rb', line 321

required :state, String, nil?: true