Class: Moov::Models::Operations::InitiateRefundRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::InitiateRefundRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/initiaterefund_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(x_idempotency_key:, account_id:, transfer_id:, x_wait_for: nil, create_refund: nil, x_moov_version: 'v2024.01.00') ⇒ InitiateRefundRequest
constructor
A new instance of InitiateRefundRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(x_idempotency_key:, account_id:, transfer_id:, x_wait_for: nil, create_refund: nil, x_moov_version: 'v2024.01.00') ⇒ InitiateRefundRequest
Returns a new instance of InitiateRefundRequest.
39 40 41 42 43 44 45 46 |
# File 'lib/moov/models/operations/initiaterefund_request.rb', line 39 def initialize(x_idempotency_key:, account_id:, transfer_id:, x_wait_for: nil, create_refund: nil, x_moov_version: 'v2024.01.00') @x_idempotency_key = x_idempotency_key @account_id = account_id @transfer_id = transfer_id @x_wait_for = x_wait_for @create_refund = create_refund @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/moov/models/operations/initiaterefund_request.rb', line 49 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 @transfer_id == other.transfer_id return false unless @x_wait_for == other.x_wait_for return false unless @create_refund == other.create_refund return false unless @x_moov_version == other.x_moov_version true end |