Class: GustoEmbedded::Models::Operations::GetAchTransactionsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(company_uuid:, contractor_payment_uuid: nil, payroll_uuid: nil, transaction_type: nil, payment_direction: nil, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetAchTransactionsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetAchTransactionsRequest

Returns a new instance of GetAchTransactionsRequest.



33
34
35
36
37
38
39
40
41
42
# File 'lib/gusto_embedded/models/operations/get_ach_transactions_request.rb', line 33

def initialize(company_uuid:, contractor_payment_uuid: nil, payroll_uuid: nil, transaction_type: nil, payment_direction: nil, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetAchTransactionsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @company_uuid = company_uuid
  @contractor_payment_uuid = contractor_payment_uuid
  @payroll_uuid = payroll_uuid
  @transaction_type = transaction_type
  @payment_direction = payment_direction
  @page = page
  @per = per
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/gusto_embedded/models/operations/get_ach_transactions_request.rb', line 45

def ==(other)
  return false unless other.is_a? self.class
  return false unless @company_uuid == other.company_uuid
  return false unless @contractor_payment_uuid == other.contractor_payment_uuid
  return false unless @payroll_uuid == other.payroll_uuid
  return false unless @transaction_type == other.transaction_type
  return false unless @payment_direction == other.payment_direction
  return false unless @page == other.page
  return false unless @per == other.per
  return false unless @x_gusto_api_version == other.x_gusto_api_version
  true
end