Sha256: badb180a4702a264d2bb73c7dcedc95b2908c06fee8c59c21a2ca829303a4548

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 Bytes

Contents

module Braintree
  module Test # :nodoc:
    # The constants in this module can be used to create transactions with
    # the desired status in the sandbox environment.
    module TransactionAmounts
      Authorize = "1000.00"
      Decline = "2000.00"
    end

    module Plans
      TrialPlan = {
        :description => "Plan for integration tests -- with trial",
        :id => "integration_trial_plan",
        :price => "43.21",
        :trial_period => true,
        :trial_duration => 2,
        :trial_duration_unit => Subscription::TrialDurationUnit::Day
      }

      TriallessPlan = {
        :description => "Plan for integration tests -- without a trial",
        :id => "integration_trialless_plan",
        :price => "12.34",
        :trial_period => false
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
braintree-1.1.0 lib/braintree/test/transaction_amounts.rb