Class: Stigg::Models::V1::CustomerUpdateParams::Passthrough::Stripe::BillingAddress

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/customer_update_params.rb,
sig/stigg/models/v1/customer_update_params.rbs

Overview

See Also:

  • Stigg::Models::V1::CustomerUpdateParams::Passthrough::Stripe#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



543
# File 'sig/stigg/models/v1/customer_update_params.rbs', line 543

def initialize: (

Instance Attribute Details

#cityString?

City name

Parameters:

  • (String)

Returns:

  • (String, nil)


421
# File 'lib/stigg/models/v1/customer_update_params.rb', line 421

optional :city, String

#countryString?

Country code or name

Parameters:

  • (String)

Returns:

  • (String, nil)


427
# File 'lib/stigg/models/v1/customer_update_params.rb', line 427

optional :country, String

#line1String?

Street address line 1

Parameters:

  • (String)

Returns:

  • (String, nil)


433
# File 'lib/stigg/models/v1/customer_update_params.rb', line 433

optional :line1, String

#line2String?

Street address line 2

Parameters:

  • (String)

Returns:

  • (String, nil)


439
# File 'lib/stigg/models/v1/customer_update_params.rb', line 439

optional :line2, String

#postal_codeString?

Postal or ZIP code

Parameters:

  • (String)

Returns:

  • (String, nil)


445
# File 'lib/stigg/models/v1/customer_update_params.rb', line 445

optional :postal_code, String, api_name: :postalCode

#stateString?

State or province

Parameters:

  • (String)

Returns:

  • (String, nil)


451
# File 'lib/stigg/models/v1/customer_update_params.rb', line 451

optional :state, String

Instance Method Details

#to_hash{

Returns:

  • ({)


552
# File 'sig/stigg/models/v1/customer_update_params.rbs', line 552

def to_hash: -> {