Class: ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::OriginatingPartyAddress

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/modern_treasury/models/bulk_request_create_params.rb,
sig/modern_treasury/models/bulk_request_create_params.rbs

Overview

See Also:

  • ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID#originating_party_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

#initialize ⇒ Object



1624
# File 'sig/modern_treasury/models/bulk_request_create_params.rbs', line 1624

def initialize: (

Instance Attribute Details

#country ⇒ String?

Country code conforms to [ISO 3166-1 alpha-2]

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2093
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2093

optional :country, String, nil?: true

#line1 ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2098
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2098

optional :line1, String, nil?: true

#line2 ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2103
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2103

optional :line2, String, nil?: true

#locality ⇒ String?

Locality or City. Use the full city name rather than an abbreviation (e.g. San Francisco).

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2110
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2110

optional :locality, String, nil?: true

#postal_code ⇒ String?

The postal code of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2116
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2116

optional :postal_code, String, nil?: true

#region ⇒ String?

Region or State. This field is free-form; for US states, we recommend a two-letter code (e.g. CA). Full state names are also accepted.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2123
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2123

optional :region, String, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1633
# File 'sig/modern_treasury/models/bulk_request_create_params.rbs', line 1633

def to_hash: -> {