Documentation

Shop_Delivery_Handler
in package

AbstractYes

Online shop.

Tags
subpackage

Shop

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Properties

$_amount  : mixed
Total Amount
$_postcode  : string
postcode
$_Shop_Delivery_Model  : Shop_Delivery_Model
Delivery
$_shopCity  : object
customer city
$_shopCompany  : object
customer company
$_shopCountry  : object
customer country
$_shopLocation  : object
customer location
$_timeFrom  : string
time from
$_timeTo  : string
time to
$_volume  : float
volume
$_weight  : mixed
Total Weight

Methods

__construct()  : mixed
Constructor.
amount()  : self
Set Amount
checkAfterContent()  : mixed
Call ->checkPaymentAfterContent() on each shop's Shop_Delivery_Handler
checkBeforeContent()  : mixed
Call ->checkPaymentBeforeContent() on each shop's Shop_Delivery_Handler
city()  : self
Set city
company()  : self
Set company
country()  : self
Set country
execute()  : mixed
Execute business logic
factory()  : mixed
Build Shop_Delivery_Handler class
location()  : self
Set location
postcode()  : self
Set postcode
process()  : mixed
timeFrom()  : self
Set time from
timeTo()  : self
Set time to
volume()  : self
Set volume
weight()  : self
Set Weight
_check()  : mixed
Protected method to call $methodName on each shop's Shop_Payment_System_Handlers

Properties

$_amount

Total Amount

protected mixed $_amount = \NULL

$_postcode

postcode

protected string $_postcode = \NULL

$_shopCity

customer city

protected object $_shopCity = \NULL

$_shopCompany

customer company

protected object $_shopCompany = \NULL

$_shopCountry

customer country

protected object $_shopCountry = \NULL

$_shopLocation

customer location

protected object $_shopLocation = \NULL

$_timeFrom

time from

protected string $_timeFrom = \NULL

$_timeTo

time to

protected string $_timeTo = \NULL

$_volume

volume

protected float $_volume = \NULL

$_weight

Total Weight

protected mixed $_weight = \NULL

Methods

amount()

Set Amount

public amount(string $amount) : self
Parameters
$amount : string
Return values
self

checkAfterContent()

Call ->checkPaymentAfterContent() on each shop's Shop_Delivery_Handler

public static checkAfterContent(Shop_Model $oShop) : mixed
Parameters
$oShop : Shop_Model

checkBeforeContent()

Call ->checkPaymentBeforeContent() on each shop's Shop_Delivery_Handler

public static checkBeforeContent(Shop_Model $oShop) : mixed
Parameters
$oShop : Shop_Model

city()

Set city

public city(int $iCityID) : self
Parameters
$iCityID : int

country ID

Return values
self

country()

Set country

public country(int $iCountryID) : self
Parameters
$iCountryID : int

country ID

Return values
self

execute()

Execute business logic

public abstract execute() : mixed

location()

Set location

public location(int $iLocationID) : self
Parameters
$iLocationID : int

country ID

Return values
self

postcode()

Set postcode

public postcode(string $sPostcode) : self
Parameters
$sPostcode : string

volume

Return values
self

process()

public process(mixed $position) : mixed
Parameters
$position : mixed

timeFrom()

Set time from

public timeFrom(string $time_from) : self
Parameters
$time_from : string
Return values
self

timeTo()

Set time to

public timeTo(string $time_to) : self
Parameters
$time_to : string
Return values
self

volume()

Set volume

public volume(float $fVolume) : self
Parameters
$fVolume : float

volume

Return values
self

weight()

Set Weight

public weight(string $weight) : self
Parameters
$weight : string
Return values
self

_check()

Protected method to call $methodName on each shop's Shop_Payment_System_Handlers

protected static _check(Shop_Model $oShop, mixed $methodName) : mixed
Parameters
$oShop : Shop_Model
$methodName : mixed

        
On this page

Search results