Class: GustoEmbedded::Models::Shared::PaymentConfigsUpdateRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PaymentConfigsUpdateRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payment_configs_update_request.rb
Overview
Request body for updating company payment configs. At least one of payment_speed, fast_payment_limit, or partner_owned_disbursement is required.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(payment_configs: nil) ⇒ PaymentConfigsUpdateRequest
constructor
A new instance of PaymentConfigsUpdateRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(payment_configs: nil) ⇒ PaymentConfigsUpdateRequest
Returns a new instance of PaymentConfigsUpdateRequest.
19 20 21 |
# File 'lib/gusto_embedded/models/shared/payment_configs_update_request.rb', line 19 def initialize(payment_configs: nil) @payment_configs = payment_configs end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 27 28 |
# File 'lib/gusto_embedded/models/shared/payment_configs_update_request.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @payment_configs == other.payment_configs true end |