lib/plaid/models/bank_transfer_event.rb in plaid-14.11.1 vs lib/plaid/models/bank_transfer_event.rb in plaid-14.12.0
- old
+ new
@@ -1,11 +1,11 @@
=begin
#The Plaid API
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
-The version of the OpenAPI document: 2020-09-14_1.61.0
+The version of the OpenAPI document: 2020-09-14_1.62.1
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.1.0
=end
@@ -43,12 +43,10 @@
attr_accessor :failure_reason
attr_accessor :direction
- attr_accessor :receiver_details
-
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'event_id' => :'event_id',
:'timestamp' => :'timestamp',
@@ -58,12 +56,11 @@
:'origination_account_id' => :'origination_account_id',
:'bank_transfer_type' => :'bank_transfer_type',
:'bank_transfer_amount' => :'bank_transfer_amount',
:'bank_transfer_iso_currency_code' => :'bank_transfer_iso_currency_code',
:'failure_reason' => :'failure_reason',
- :'direction' => :'direction',
- :'receiver_details' => :'receiver_details'
+ :'direction' => :'direction'
}
end
# Returns all the JSON keys this model knows about
def self.acceptable_attributes
@@ -81,22 +78,20 @@
:'origination_account_id' => :'String',
:'bank_transfer_type' => :'BankTransferType',
:'bank_transfer_amount' => :'String',
:'bank_transfer_iso_currency_code' => :'String',
:'failure_reason' => :'BankTransferFailure',
- :'direction' => :'BankTransferDirection',
- :'receiver_details' => :'BankTransferReceiverDetails'
+ :'direction' => :'BankTransferDirection'
}
end
# List of attributes with nullable: true
def self.openapi_nullable
Set.new([
:'origination_account_id',
:'failure_reason',
- :'direction',
- :'receiver_details'
+ :'direction'
])
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -154,14 +149,10 @@
end
if attributes.key?(:'direction')
self.direction = attributes[:'direction']
end
-
- if attributes.key?(:'receiver_details')
- self.receiver_details = attributes[:'receiver_details']
- end
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properties with the reasons
def list_invalid_properties
@@ -249,12 +240,11 @@
origination_account_id == o.origination_account_id &&
bank_transfer_type == o.bank_transfer_type &&
bank_transfer_amount == o.bank_transfer_amount &&
bank_transfer_iso_currency_code == o.bank_transfer_iso_currency_code &&
failure_reason == o.failure_reason &&
- direction == o.direction &&
- receiver_details == o.receiver_details
+ direction == o.direction
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -262,10 +252,10 @@
end
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
- [event_id, timestamp, event_type, account_id, bank_transfer_id, origination_account_id, bank_transfer_type, bank_transfer_amount, bank_transfer_iso_currency_code, failure_reason, direction, receiver_details].hash
+ [event_id, timestamp, event_type, account_id, bank_transfer_id, origination_account_id, bank_transfer_type, bank_transfer_amount, bank_transfer_iso_currency_code, failure_reason, direction].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself