Class: Moov::Models::Operations::CreateTransferRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::CreateTransferRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/createtransfer_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(x_idempotency_key:, account_id:, create_transfer:, x_moov_version: nil, x_wait_for: nil) ⇒ CreateTransferRequest
constructor
A new instance of CreateTransferRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(x_idempotency_key:, account_id:, create_transfer:, x_moov_version: nil, x_wait_for: nil) ⇒ CreateTransferRequest
Returns a new instance of CreateTransferRequest.
38 39 40 41 42 43 44 |
# File 'lib/moov/models/operations/createtransfer_request.rb', line 38 def initialize(x_idempotency_key:, account_id:, create_transfer:, x_moov_version: nil, x_wait_for: nil) @x_idempotency_key = x_idempotency_key @account_id = account_id @create_transfer = create_transfer @x_moov_version = x_moov_version @x_wait_for = x_wait_for end |
Instance Method Details
#==(other) ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/moov/models/operations/createtransfer_request.rb', line 47 def ==(other) return false unless other.is_a? self.class return false unless @x_idempotency_key == other.x_idempotency_key return false unless @account_id == other.account_id return false unless @create_transfer == other.create_transfer return false unless @x_moov_version == other.x_moov_version return false unless @x_wait_for == other.x_wait_for true end |