Class: WhopSDK::Models::Payment::BillingAddress

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

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from WhopSDK::Internal::Type::BaseModel

Instance Attribute Details

#cityString?

The city of the address.

Returns:

  • (String, nil)


270
# File 'lib/whop_sdk/models/payment.rb', line 270

required :city, String, nil?: true

#countryString?

The country of the address.

Returns:

  • (String, nil)


276
# File 'lib/whop_sdk/models/payment.rb', line 276

required :country, String, nil?: true

#line1String?

The line 1 of the address.

Returns:

  • (String, nil)


282
# File 'lib/whop_sdk/models/payment.rb', line 282

required :line1, String, nil?: true

#line2String?

The line 2 of the address.

Returns:

  • (String, nil)


288
# File 'lib/whop_sdk/models/payment.rb', line 288

required :line2, String, nil?: true

#nameString?

The name of the customer.

Returns:

  • (String, nil)


294
# File 'lib/whop_sdk/models/payment.rb', line 294

required :name, String, nil?: true

#postal_codeString?

The postal code of the address.

Returns:

  • (String, nil)


300
# File 'lib/whop_sdk/models/payment.rb', line 300

required :postal_code, String, nil?: true

#stateString?

The state of the address.

Returns:

  • (String, nil)


306
# File 'lib/whop_sdk/models/payment.rb', line 306

required :state, String, nil?: true