Class: Moov::Models::Operations::CreateInvoicePaymentRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id:, invoice_id:, create_invoice_payment:, x_moov_version: nil) ⇒ CreateInvoicePaymentRequest

Returns a new instance of CreateInvoicePaymentRequest.



34
35
36
37
38
39
# File 'lib/moov/models/operations/createinvoicepayment_request.rb', line 34

def initialize(account_id:, invoice_id:, create_invoice_payment:, x_moov_version: nil)
  @account_id = 
  @invoice_id = invoice_id
  @create_invoice_payment = create_invoice_payment
  @x_moov_version = x_moov_version
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
# File 'lib/moov/models/operations/createinvoicepayment_request.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @invoice_id == other.invoice_id
  return false unless @create_invoice_payment == other.create_invoice_payment
  return false unless @x_moov_version == other.x_moov_version
  true
end