lib/braintree/transaction.rb in braintree-1.2.0 vs lib/braintree/transaction.rb in braintree-1.2.1
- old
+ new
@@ -117,9 +117,22 @@
# }
# )
class Transaction
include BaseModule
+ module Status
+ Authorizing = 'authorizing'
+ Authorized = 'authorized'
+ GatewayRejected = 'gateway_rejected'
+ Failed = 'failed'
+ ProcessorDeclined = 'processor_declined'
+ Settled = 'settled'
+ SettlementFailed = 'settlement_failed'
+ SubmittedForSettlement = 'submitted_for_settlement'
+ Unknown = 'unknown'
+ Voided = 'voided'
+ end
+
module Type # :nodoc:
Credit = "credit" # :nodoc:
Sale = "sale" # :nodoc:
end