Class: KintsugiSDK::Models::Shared::TransactionAddressReadOutput
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Shared::TransactionAddressReadOutput
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type:, phone: nil, street_1: nil, street_2: nil, city: nil, county: nil, state: nil, postal_code: nil, country: nil, full_address: nil, status: nil, id: nil, transaction_id: nil, connection_id: nil) ⇒ TransactionAddressReadOutput
constructor
A new instance of TransactionAddressReadOutput.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(type:, phone: nil, street_1: nil, street_2: nil, city: nil, county: nil, state: nil, postal_code: nil, country: nil, full_address: nil, status: nil, id: nil, transaction_id: nil, connection_id: nil) ⇒ TransactionAddressReadOutput
Returns a new instance of TransactionAddressReadOutput.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb', line 46 def initialize(type:, phone: nil, street_1: nil, street_2: nil, city: nil, county: nil, state: nil, postal_code: nil, country: nil, full_address: nil, status: nil, id: nil, transaction_id: nil, connection_id: nil) @type = type @phone = phone @street_1 = street_1 @street_2 = street_2 @city = city @county = county @state = state @postal_code = postal_code @country = country @full_address = full_address @status = status @id = id @transaction_id = transaction_id @connection_id = connection_id end |
Instance Method Details
#==(other) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb', line 64 def ==(other) return false unless other.is_a? self.class return false unless @type == other.type return false unless @phone == other.phone return false unless @street_1 == other.street_1 return false unless @street_2 == other.street_2 return false unless @city == other.city return false unless @county == other.county return false unless @state == other.state return false unless @postal_code == other.postal_code return false unless @country == other.country return false unless @full_address == other.full_address return false unless @status == other.status return false unless @id == other.id return false unless @transaction_id == other.transaction_id return false unless @connection_id == other.connection_id true end |