Class: ModernTreasury::Models::InvoiceUpdateParams::CounterpartyBillingAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InvoiceUpdateParams::CounterpartyBillingAddress
- Defined in:
- lib/modern_treasury/models/invoice_update_params.rb
Instance Attribute Summary collapse
-
#country ⇒ String
Country code conforms to [ISO 3166-1 alpha-2].
- #line1 ⇒ String
- #line2 ⇒ String?
-
#locality ⇒ String
Locality or City.
-
#postal_code ⇒ String
The postal code of the address.
-
#region ⇒ String
Region or State.
Instance Method Summary collapse
-
#initialize(id:, contact_details: nil, counterparty_billing_address: nil, counterparty_id: nil, counterparty_shipping_address: nil, currency: nil, description: nil, due_date: nil, fallback_payment_method: nil, invoice_line_items: nil, invoicer_address: nil, invoicer_name: nil, metadata: nil, notification_email_addresses: nil, notifications_enabled: nil, originating_account_id: nil, payment_effective_date: nil, payment_method: nil, payment_type: nil, receiving_account_id: nil, recipient_email: nil, recipient_name: nil, remind_after_overdue_days: nil, status: nil, virtual_account_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ModernTreasury::Models::InvoiceUpdateParams for more details.
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(id:, contact_details: nil, counterparty_billing_address: nil, counterparty_id: nil, counterparty_shipping_address: nil, currency: nil, description: nil, due_date: nil, fallback_payment_method: nil, invoice_line_items: nil, invoicer_address: nil, invoicer_name: nil, metadata: nil, notification_email_addresses: nil, notifications_enabled: nil, originating_account_id: nil, payment_effective_date: nil, payment_method: nil, payment_type: nil, receiving_account_id: nil, recipient_email: nil, recipient_name: nil, remind_after_overdue_days: nil, status: nil, virtual_account_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::InvoiceUpdateParams for more details.
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 245 class CounterpartyBillingAddress < ModernTreasury::Internal::Type::BaseModel # @!attribute country # Country code conforms to [ISO 3166-1 alpha-2] # # @return [String] required :country, String # @!attribute line1 # # @return [String] required :line1, String # @!attribute locality # Locality or City. # # @return [String] required :locality, String # @!attribute postal_code # The postal code of the address. # # @return [String] required :postal_code, String # @!attribute region # Region or State. # # @return [String] required :region, String # @!attribute line2 # # @return [String, nil] optional :line2, String # @!method initialize(country:, line1:, locality:, postal_code:, region:, line2: nil) # The counterparty's billing address. # # @param country [String] Country code conforms to [ISO 3166-1 alpha-2] # # @param line1 [String] # # @param locality [String] Locality or City. # # @param postal_code [String] The postal code of the address. # # @param region [String] Region or State. # # @param line2 [String] end |
Instance Attribute Details
#country ⇒ String
Country code conforms to [ISO 3166-1 alpha-2]
250 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 250 required :country, String |
#line1 ⇒ String
255 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 255 required :line1, String |
#line2 ⇒ String?
278 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 278 optional :line2, String |
#locality ⇒ String
Locality or City.
261 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 261 required :locality, String |
#postal_code ⇒ String
The postal code of the address.
267 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 267 required :postal_code, String |
#region ⇒ String
Region or State.
273 |
# File 'lib/modern_treasury/models/invoice_update_params.rb', line 273 required :region, String |