Class: GustoEmbedded::Models::Shared::PaymentConfigsUpdateRequestPaymentConfigs

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(payment_speed: nil, partner_owned_disbursement: nil, fast_payment_limit: nil) ⇒ PaymentConfigsUpdateRequestPaymentConfigs

Returns a new instance of PaymentConfigsUpdateRequestPaymentConfigs.



23
24
25
26
27
# File 'lib/gusto_embedded/models/shared/payment_configs_update_request_payment_configs.rb', line 23

def initialize(payment_speed: nil, partner_owned_disbursement: nil, fast_payment_limit: nil)
  @payment_speed = payment_speed
  @partner_owned_disbursement = partner_owned_disbursement
  @fast_payment_limit = fast_payment_limit
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/shared/payment_configs_update_request_payment_configs.rb', line 30

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