app/services/transaction_service/api/settings.rb
def activate(community_id:, payment_gateway:, payment_process:)
      Result::Success.new(PaymentSettingsStore.activate(
                           community_id: community_id,
                           payment_gateway: payment_gateway,
                           payment_process: payment_process))
    end
# Update the given gateway and process to be the active one, disable others
Update the given gateway and process to be the active one, disable others
Update the given gateway and process to be the active one disable others
def activate(community_id:, payment_gateway:, payment_process:)
      Result::Success.new(PaymentSettingsStore.activate(
                           community_id: community_id,
                           payment_gateway: payment_gateway,
                           payment_process: payment_process))
    end
def activate ( community_id : , payment_gateway : , payment_process : ) Result :: Success . new ( PaymentSettingsStore . activate ( community_id : community_id , payment_gateway : payment_gateway , payment_process : payment_process ) ) end
Update the given gateway and process to be the active one, disable others
Update the given gateway and process to be the active one disable others
community_id
payment_gateway
payment_process