Class: Moov::Models::Components::PullFromCardTransferProcessingDetails
- Inherits:
-
Object
- Object
- Moov::Models::Components::PullFromCardTransferProcessingDetails
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/pullfromcardtransferprocessingdetails.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(authorization_code: nil, network_transaction_id: nil, network_response_code: nil, failure_code: nil) ⇒ PullFromCardTransferProcessingDetails
constructor
A new instance of PullFromCardTransferProcessingDetails.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(authorization_code: nil, network_transaction_id: nil, network_response_code: nil, failure_code: nil) ⇒ PullFromCardTransferProcessingDetails
Returns a new instance of PullFromCardTransferProcessingDetails.
25 26 27 28 29 30 |
# File 'lib/moov/models/components/pullfromcardtransferprocessingdetails.rb', line 25 def initialize(authorization_code: nil, network_transaction_id: nil, network_response_code: nil, failure_code: nil) @authorization_code = @network_transaction_id = network_transaction_id @network_response_code = network_response_code @failure_code = failure_code end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/moov/models/components/pullfromcardtransferprocessingdetails.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @authorization_code == other. return false unless @network_transaction_id == other.network_transaction_id return false unless @network_response_code == other.network_response_code return false unless @failure_code == other.failure_code true end |