Class: Increase::Models::Card::BillingAddress

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card.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 Increase::Internal::Type::BaseModel

Instance Attribute Details

#cityString?

The city of the billing address.

Returns:

  • (String, nil)


132
# File 'lib/increase/models/card.rb', line 132

required :city, String, nil?: true

#line1String?

The first line of the billing address.

Returns:

  • (String, nil)


138
# File 'lib/increase/models/card.rb', line 138

required :line1, String, nil?: true

#line2String?

The second line of the billing address.

Returns:

  • (String, nil)


144
# File 'lib/increase/models/card.rb', line 144

required :line2, String, nil?: true

#postal_codeString?

The postal code of the billing address.

Returns:

  • (String, nil)


150
# File 'lib/increase/models/card.rb', line 150

required :postal_code, String, nil?: true

#stateString?

The US state of the billing address.

Returns:

  • (String, nil)


156
# File 'lib/increase/models/card.rb', line 156

required :state, String, nil?: true