Class: WhopSDK::Models::SetupIntent::PaymentMethod::MailingAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::SetupIntent::PaymentMethod::MailingAddress
- Defined in:
- lib/whop_sdk/models/setup_intent.rb,
sig/whop_sdk/models/setup_intent.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.
-
#postal_code ⇒ String?
The postal code of the address.
-
#state ⇒ String?
The state of the address.
Instance Method Summary collapse
-
#initialize(city:, country:, line1:, line2:, name:, postal_code:, state:) ⇒ Object
constructor
The mailing address associated with the payment method's user.
- #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(city:, country:, line1:, line2:, name:, postal_code:, state:) ⇒ Object
The mailing address associated with the payment method's user
|
|
# File 'lib/whop_sdk/models/setup_intent.rb', line 327
|
Instance Attribute Details
#city ⇒ String?
The city of the address.
289 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 289 required :city, String, nil?: true |
#country ⇒ String?
The country of the address.
295 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 295 required :country, String, nil?: true |
#line1 ⇒ String?
The line 1 of the address.
301 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 301 required :line1, String, nil?: true |
#line2 ⇒ String?
The line 2 of the address.
307 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 307 required :line2, String, nil?: true |
#name ⇒ String?
The name of the customer.
313 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 313 required :name, String, nil?: true |
#postal_code ⇒ String?
The postal code of the address.
319 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 319 required :postal_code, String, nil?: true |
#state ⇒ String?
The state of the address.
325 |
# File 'lib/whop_sdk/models/setup_intent.rb', line 325 required :state, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
233 |
# File 'sig/whop_sdk/models/setup_intent.rbs', line 233
def to_hash: -> {
|