

Definition at line 7 of file oxpayment.php.
Public Member Functions | |
| __construct () | |
| getGroups () | |
| setDynValues ($aDynValues) | |
| setDynValue ($oKey, $oVal) | |
| getDynValues () | |
| getPaymentValue ($dBaseprice) | |
| getPaymentPrice ($oBasket) | |
| getCountries () | |
| delete ($sOXID=null) | |
| isValidPayment ($aDynvalue, $sShopId, $oUser, $dBasketPrice, $sShipSetId) | |
Protected Attributes | |
| $_oGroups = null | |
| $_aCountries = null | |
| $_sClassName = 'oxpayment' | |
| $_aDynValues = null | |
| oxPayment.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
Definition at line 41 of file oxpayment.php.
| oxPayment.getGroups | ( | ) |
Payment groups getter. Returns groups list
Definition at line 52 of file oxpayment.php.
| oxPayment.setDynValues | ( | $ | aDynValues | ) |
sets the dyn values
| array | $aDynValues the array of dy values |
Definition at line 76 of file oxpayment.php.
| oxPayment.setDynValue | ( | $ | oKey, | |
| $ | oVal | |||
| ) |
sets a single dyn value
| mixed | $oKey the key | |
| mixed | $oVal the value |
Definition at line 89 of file oxpayment.php.
| oxPayment.getDynValues | ( | ) |
| oxPayment.getPaymentValue | ( | $ | dBaseprice | ) |
Returns additional taxes to base article price.
| double | $dBaseprice Base article price |
Definition at line 114 of file oxpayment.php.
| oxPayment.getPaymentPrice | ( | $ | oBasket | ) |
Returns price object for current payment applied on basket
| oxuserbasket | $oBasket session basket |
Definition at line 139 of file oxpayment.php.
| oxPayment.getCountries | ( | ) |
Returns array of country Ids which are assigned to current payment
Definition at line 161 of file oxpayment.php.
| oxPayment.delete | ( | $ | sOXID = null |
) |
Delete this object from the database, returns true on success.
| string | $sOXID Object ID(default null) |
Reimplemented from oxBase.
Definition at line 185 of file oxpayment.php.
| oxPayment.isValidPayment | ( | $ | aDynvalue, | |
| $ | sShopId, | |||
| $ | oUser, | |||
| $ | dBasketPrice, | |||
| $ | sShipSetId | |||
| ) |
Function checks if loaded payment is valid to current basket
| array | $aDynvalue dynamical value (in this case oxidcreditcard and oxiddebitnote are checked only) | |
| string | $sShopId id of current shop | |
| oxuser | $oUser the current user | |
| double | $dBasketPrice the current basket price (oBasket->dprice) | |
| string | $sShipSetId the current ship set |
Definition at line 210 of file oxpayment.php.
oxPayment.$_oGroups = null [protected] |
Definition at line 14 of file oxpayment.php.
oxPayment.$_aCountries = null [protected] |
Definition at line 22 of file oxpayment.php.
oxPayment.$_sClassName = 'oxpayment' [protected] |
oxPayment.$_aDynValues = null [protected] |
Definition at line 36 of file oxpayment.php.
1.5.5