class

Plaid::PaystubAddress

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Address on the paystub

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, city : String | Nil = nil, country : String | Nil = nil, postal_code : String | Nil = nil, region : String | Nil = nil, street : String | Nil = nil, line1 : String | Nil = nil, line2 : String | Nil = nil, state_code : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

city

The full city name.

Source
city=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] city Object to be assigned

Source
city_present=(city_present : Bool)
Source
city_present?
Source
country

The ISO 3166-1 alpha-2 country code.

Source
country=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] country Object to be assigned

Source
country_present=(country_present : Bool)
Source
country_present?
Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

line1

Street address line 1.

Source
line1=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] line1 Object to be assigned

Source
line1_present=(line1_present : Bool)
Source
line1_present?
Source
line2

Street address line 2.

Source
line2=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] line2 Object to be assigned

Source
line2_present=(line2_present : Bool)
Source
line2_present?
Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
postal_code

The postal code of the address.

Source
postal_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] postal_code Object to be assigned

Source
postal_code_present=(postal_code_present : Bool)
Source
postal_code_present?
Source
region

The region or state Example: \"NC\"

Source
region=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] region Object to be assigned

Source
region_present=(region_present : Bool)
Source
region_present?
Source
state_code

The region or state Example: \"NC\"

Source
state_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] state_code Object to be assigned

Source
state_code_present=(state_code_present : Bool)
Source
state_code_present?
Source
street

The full street address.

Source
street=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] street Object to be assigned

Source
street_present=(street_present : Bool)
Source
street_present?
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source