--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: ActiveMerchant PSL Card Gateway
- !ruby/struct:SM::Flow::P 
  body: "Notes:"
- !ruby/struct:SM::Flow::VERB 
  body: "  -To be able to use the capture function, the IP address of the machine must be\n   registered with PSL\n  -ESALE_KEYED should only be used in situations where the cardholder perceives the\n   transaction to be Internet-based, such as purchasing from a web site/on-line store.\n   If the Internet is used purely for the transport of information from the merchant\n   directly to the gateway then the appropriate cardholder present or not present message\n   type should be used rather than the \xE2\x80\x98E\xE2\x80\x99 equivalent.\n  -The CV2 / AVS policies are set up with the account settings when signing up for an account\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: PslCard server URL - The url is the same whether testing or live - use the test account when testing...
  name: URL
  value: "'https://pslcard3.paymentsolutionsltd.com/secure/transact.asp?'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: eCommerce sale transaction, details keyed by merchant or cardholder
  name: MESSAGE_TYPE
  value: "'ESALE_KEYED'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The type of response that we want to get from PSL, options are HTML, XML or REDIRECT
  name: RESPONSE_ACTION
  value: "'HTML'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Currency Codes
  name: CURRENCY_CODES
  value: "{         'AUD' => 036,         'GBP' => 826,         'USD' => 840"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The terminal used - only for swipe transactions, so hard coded to 32 for online
  name: EMV_TERMINAL_TYPE
  value: "32"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Different Dispatch types
  name: DISPATCH_LATER
  value: "'LATER'"
- !ruby/object:RI::Constant 
  comment: 
  name: DISPATCH_NOW
  value: "'NOW'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Return codes
  name: APPROVED
  value: "'00'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Nominal amount to authorize for a 'dispatch later' type The nominal amount is held straight away, when the goods are ready to be dispatched, PSL is informed and the full amount is the taken.
  name: NOMINAL_AMOUNT
  value: "101"
- !ruby/object:RI::Constant 
  comment: 
  name: AVS_CODE
  value: "{         \"ALL MATCH\"     => 'Y',         \"SECURITY CODE MATCH ONLY\" => 'N',         \"ADDRESS MATCH ONLY\" => 'Y',         \"NO DATA MATCHES\"       => 'N',         \"DATA NOT CHECKED\"      => 'R',         \"SECURITY CHECKS NOT SUPPORTED\" => 'X'"
- !ruby/object:RI::Constant 
  comment: 
  name: CVV_CODE
  value: "{         \"ALL MATCH\"     => 'M',         \"SECURITY CODE MATCH ONLY\" => 'M',         \"ADDRESS MATCH ONLY\" => 'N',         \"NO DATA MATCHES\"       => 'N',         \"DATA NOT CHECKED\"      => 'P',         \"SECURITY CHECKS NOT SUPPORTED\" => 'X'"
full_name: ActiveMerchant::Billing::PslCardGateway
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: authorize
- !ruby/object:RI::MethodSummary 
  name: capture
- !ruby/object:RI::MethodSummary 
  name: purchase
name: PslCardGateway
superclass: Gateway
