Class: ModernTreasury::Models::InvoiceCreateParams::CounterpartyBillingAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InvoiceCreateParams::CounterpartyBillingAddress
- Defined in:
- lib/modern_treasury/models/invoice_create_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(counterparty_id:, due_date:, originating_account_id:, auto_advance: nil, contact_details: nil, counterparty_billing_address: nil, counterparty_shipping_address: nil, currency: nil, description: nil, fallback_payment_method: nil, invoice_line_items: nil, invoicer_address: nil, invoicer_name: nil, metadata: nil, notification_email_addresses: nil, notifications_enabled: 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, virtual_account_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ModernTreasury::Models::InvoiceCreateParams 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(counterparty_id:, due_date:, originating_account_id:, auto_advance: nil, contact_details: nil, counterparty_billing_address: nil, counterparty_shipping_address: nil, currency: nil, description: nil, fallback_payment_method: nil, invoice_line_items: nil, invoicer_address: nil, invoicer_name: nil, metadata: nil, notification_email_addresses: nil, notifications_enabled: 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, virtual_account_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::InvoiceCreateParams for more details.
238 239 240 241 242 243 244 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 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 238 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]
243 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 243 required :country, String |
#line1 ⇒ String
248 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 248 required :line1, String |
#line2 ⇒ String?
271 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 271 optional :line2, String |
#locality ⇒ String
Locality or City.
254 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 254 required :locality, String |
#postal_code ⇒ String
The postal code of the address.
260 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 260 required :postal_code, String |
#region ⇒ String
Region or State.
266 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 266 required :region, String |