Class: Moov::Models::Components::PayoutRecipientUpdate

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/components/payoutrecipientupdate.rb

Overview

Specify the intended recipient of the payout.

This information will be used to authenticate the end user when they follow the payment link.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(email: nil) ⇒ PayoutRecipientUpdate

Returns a new instance of PayoutRecipientUpdate.



22
23
24
# File 'lib/moov/models/components/payoutrecipientupdate.rb', line 22

def initialize(email: nil)
  @email = email
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
# File 'lib/moov/models/components/payoutrecipientupdate.rb', line 27

def ==(other)
  return false unless other.is_a? self.class
  return false unless @email == other.email
  true
end