Class: Moov::Models::Components::PaymentLinkDisplayOptionsUpdate
- Inherits:
-
Object
- Object
- Moov::Models::Components::PaymentLinkDisplayOptionsUpdate
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb
Overview
Customizable display options for a payment link.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(title: nil, description: nil, call_to_action: nil) ⇒ PaymentLinkDisplayOptionsUpdate
constructor
A new instance of PaymentLinkDisplayOptionsUpdate.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(title: nil, description: nil, call_to_action: nil) ⇒ PaymentLinkDisplayOptionsUpdate
Returns a new instance of PaymentLinkDisplayOptionsUpdate.
27 28 29 30 31 |
# File 'lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb', line 27 def initialize(title: nil, description: nil, call_to_action: nil) @title = title @description = description @call_to_action = call_to_action end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb', line 34 def ==(other) return false unless other.is_a? self.class return false unless @title == other.title return false unless @description == other.description return false unless @call_to_action == other.call_to_action true end |