Class: ModernTreasury::Models::PaymentOrderCreateParams::UltimateOriginatingPartyAddress

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/payment_order_create_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(country: nil, line1: nil, line2: nil, locality: nil, postal_code: nil, region: nil) ⇒ Object

Address of the ultimate originator of the payment order.

Parameters:

  • country (String) (defaults to: nil)

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

  • line1 (String) (defaults to: nil)
  • line2 (String) (defaults to: nil)
  • locality (String) (defaults to: nil)

    Locality or City.

  • postal_code (String) (defaults to: nil)

    The postal code of the address.

  • region (String) (defaults to: nil)

    Region or State.



# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 923

Instance Attribute Details

#countryString?

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

Returns:

  • (String, nil)


893
# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 893

optional :country, String

#line1String?

Returns:

  • (String, nil)


898
# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 898

optional :line1, String

#line2String?

Returns:

  • (String, nil)


903
# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 903

optional :line2, String

#localityString?

Locality or City.

Returns:

  • (String, nil)


909
# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 909

optional :locality, String

#postal_codeString?

The postal code of the address.

Returns:

  • (String, nil)


915
# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 915

optional :postal_code, String

#regionString?

Region or State.

Returns:

  • (String, nil)


921
# File 'lib/modern_treasury/models/payment_order_create_params.rb', line 921

optional :region, String