Class: Increase::Models::CardUpdateParams::BillingAddress

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_update_params.rb

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(billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, status: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardUpdateParams for more details.

Parameters:



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/increase/models/card_update_params.rb', line 59

class BillingAddress < Increase::Internal::Type::BaseModel
  # @!attribute city
  #   The city of the billing address.
  #
  #   @return [String]
  required :city, String

  # @!attribute line1
  #   The first line of the billing address.
  #
  #   @return [String]
  required :line1, String

  # @!attribute postal_code
  #   The postal code of the billing address.
  #
  #   @return [String]
  required :postal_code, String

  # @!attribute state
  #   The US state of the billing address.
  #
  #   @return [String]
  required :state, String

  # @!attribute line2
  #   The second line of the billing address.
  #
  #   @return [String, nil]
  optional :line2, String

  # @!method initialize(city:, line1:, postal_code:, state:, line2: nil)
  #   The card's updated billing address.
  #
  #   @param city [String] The city of the billing address.
  #
  #   @param line1 [String] The first line of the billing address.
  #
  #   @param postal_code [String] The postal code of the billing address.
  #
  #   @param state [String] The US state of the billing address.
  #
  #   @param line2 [String] The second line of the billing address.
end

Instance Attribute Details

#cityString

The city of the billing address.

Returns:

  • (String)


64
# File 'lib/increase/models/card_update_params.rb', line 64

required :city, String

#line1String

The first line of the billing address.

Returns:

  • (String)


70
# File 'lib/increase/models/card_update_params.rb', line 70

required :line1, String

#line2String?

The second line of the billing address.

Returns:

  • (String, nil)


88
# File 'lib/increase/models/card_update_params.rb', line 88

optional :line2, String

#postal_codeString

The postal code of the billing address.

Returns:

  • (String)


76
# File 'lib/increase/models/card_update_params.rb', line 76

required :postal_code, String

#stateString

The US state of the billing address.

Returns:

  • (String)


82
# File 'lib/increase/models/card_update_params.rb', line 82

required :state, String