Class: Moov::Models::Operations::GetPaymentLinkRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::GetPaymentLinkRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/getpaymentlink_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, payment_link_code:, x_moov_version: 'v2024.01.00') ⇒ GetPaymentLinkRequest
constructor
A new instance of GetPaymentLinkRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, payment_link_code:, x_moov_version: 'v2024.01.00') ⇒ GetPaymentLinkRequest
Returns a new instance of GetPaymentLinkRequest.
32 33 34 35 36 |
# File 'lib/moov/models/operations/getpaymentlink_request.rb', line 32 def initialize(account_id:, payment_link_code:, x_moov_version: 'v2024.01.00') @account_id = account_id @payment_link_code = payment_link_code @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/moov/models/operations/getpaymentlink_request.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @payment_link_code == other.payment_link_code return false unless @x_moov_version == other.x_moov_version true end |