Overview
  • Namespace
  • Class

Namespaces

  • Mypos
    • IPC

Classes

  • Authorization
  • AuthorizationCapture
  • AuthorizationList
  • AuthorizationReverse
  • Base
  • Card
  • CardStore
  • Cart
  • Config
  • Customer
  • Defines
  • GetPaymentStatus
  • GetTxnStatus
  • Helper
  • IAPreAuthorization
  • IAPurchase
  • IAStoreCard
  • IAStoredCardUpdate
  • IPCGetTxnLog
  • Loader
  • MandateManagement
  • PreAuthorization
  • PreAuthorizationCancellation
  • PreAuthorizationCompletion
  • PreAuthorizationStatus
  • Purchase
  • PurchaseByIcard
  • 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
# 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
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 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 Mypos\IPC\CardStore
# 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\CardStore

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