Module: Tray::Checkout
- Extended by:
- LogMe, Timeout, Config
- Defined in:
- lib/tray/checkout.rb,
lib/tray/checkout/config.rb,
lib/tray/checkout/parser.rb,
lib/tray/checkout/account.rb,
lib/tray/checkout/version.rb,
lib/tray/checkout/response.rb,
lib/tray/checkout/constants.rb,
lib/tray/checkout/transaction.rb,
lib/tray/checkout/web_service.rb,
lib/tray/checkout/base_service.rb,
lib/tray/checkout/params_parser.rb,
lib/tray/checkout/temp_transaction.rb
Defined Under Namespace
Modules: Config Classes: Account, AccountResponseParser, BaseService, ParamsParser, Parser, Response, ResponseParser, TempTransaction, Transaction, TransactionResponseParser, WebService
Constant Summary collapse
- VERSION =
'0.4.4'
- PAYMENT_METHOD =
{ diners: 2, visa: 3, mastercard: 4, american_express: 5, boleto: 6, itau_shopline: 7, pagamento_com_saldo: 8, peela: 14, discover: 15, elo: 16 }
- TRANSACTION_STATUS =
{ waiting_payment: 4, processing: 5, approved: 6, canceled: 7, disputing: 24, monitoring: 87, recovering: 88, disapproved: 89 }
- CONTACT_TYPE =
{ home: "H", mobile: "M", work: "W" }
- ADDRESS_TYPE =
{ billing: "B", delivery: "D" }
- SEX =
{ male: "M", female: "F" }
- MARITAL_STATUS =
{ single: "S", married: "M", separated: "A", divorced: "D", widowed: "W" }
Constants included from Config
Config::DEFAULT_ENVIRONMENT, Config::DEFAULT_REQUEST_TIMEOUT
Instance Attribute Summary
Attributes included from Config
#environment, #proxy_url, #request_timeout, #token_account