Overview
  • Namespace
  • Class

Namespaces

  • Mypos
    • IPC

Classes

  • Base
  • Card
  • CardStore
  • Cart
  • Config
  • Customer
  • Defines
  • GetTxnStatus
  • Helper
  • IAPurchase
  • IAStoreCard
  • IAStoredCardUpdate
  • IPCGetTxnLog
  • Loader
  • MandateManagement
  • Purchase
  • Refund
  • RequestMoney
  • Response
  • Reversal

Exceptions

  • IPC_Exception

Class CardStore

Base API Class. Contains basic API-connection methods.

Mypos\IPC\Base
Extended by Mypos\IPC\CardStore

Direct known subclasses

Mypos\IPC\IAStoreCard, Mypos\IPC\IAStoredCardUpdate

Abstract
Namespace: Mypos\IPC
Located at CardStore.php

Methods summary

public float
# getAmount( )

Amount of the transaction Used in the request if CardVerification = CARD_VERIFICATION_YES.

Amount of the transaction Used in the request if CardVerification = CARD_VERIFICATION_YES.

Returns

float
public
# setAmount( float $amount )

Amount of the transaction. Used in the request if CardVerification = CARD_VERIFICATION_YES.

Amount of the transaction. Used in the request if CardVerification = CARD_VERIFICATION_YES.

Parameters

$amount
public Mypos\IPC\Purchase
# setCurrency( string $currency )

ISO-4217 Three letter currency code Used in the request if CardVerification = CARD_VERIFICATION_YES.

ISO-4217 Three letter currency code Used in the request if CardVerification = CARD_VERIFICATION_YES.

Parameters

$currency

Returns

Mypos\IPC\Purchase
public string
# getCurrency( )

ISO-4217 Three letter currency code Used in the request if CardVerification = CARD_VERIFICATION_YES.

ISO-4217 Three letter currency code Used in the request if CardVerification = CARD_VERIFICATION_YES.

Returns

string
public integer
# getCardVerification( )

Specify whether the inputted card data to be verified or not before storing

Specify whether the inputted card data to be verified or not before storing

Returns

integer
public
# setCardVerification( integer $cardVerification )

Specify whether the inputted card data to be verified or not before storing

Specify whether the inputted card data to be verified or not before storing

Parameters

$cardVerification
public boolean
# validate( )

Validate all set purchase details

Validate all set purchase details

Returns

boolean

Throws

Mypos\IPC\IPC_Exception

Methods inherited from Mypos\IPC\Base

_addPostParam(), _processHtmlPost(), _processPost(), getCnf(), getOutputFormat(), isValidSignature(), setCnf(), setOutputFormat()

Constants summary

integer CARD_VERIFICATION_NO
# 1
integer CARD_VERIFICATION_YES
# 2

Properties summary

Properties inherited from Mypos\IPC\Base

$outputFormat

API documentation generated by ApiGen