phpDocumentor

AfterbuyOrderSender
in package

Table of Contents

AFTERBUY_URL  = 'https://api.afterbuy.de/afterbuy/ShopInterfaceUTF8.aspx'
ARTIKELERKENNUNG  = '2'
FEEDBACKDATUM  = '0'
KUNDENERKENNUNG  = '1'
REQUEST_TIMEOUT  = 5
VERSANDERMITTLUNG_AB  = 1
VERWENDE_SHOP_ARTIKELNUMMER  = 0
$b2bStatusIds  : mixed
$configuration  : mixed
$logger  : mixed
$order  : OrderInterface
$orderId  : mixed
$orderStatus  : mixed
$orderTotalConfiguration  : mixed
$partnerID  : mixed
$partnerPass  : mixed
$paymentMapping  : mixed
$userID  : mixed
__construct()  : mixed
AfterbuyOrderSender constructor.
addOrderTotalConfiguration()  : mixed
addPaymentMapping()  : mixed
orderIsPaid()  : bool
Checks if the order is to be considered paid in full.
prepareData()  : mixed
processOrder()  : mixed
convertPrice()  : mixed
getAttributeModel()  : mixed
getProductUrl()  : string
getTaxRate()  : mixed
mapPayment()  : mixed
sendData()  : mixed

Constants

Properties

Methods

__construct()

AfterbuyOrderSender constructor.

public __construct( $orderId) : mixed

Configuration will fall back on values from the old configuration page if GXModuleConfigurationStorage does not contain values from the new configuration.

Parameters
$orderId :
Return values
mixed

addOrderTotalConfiguration()

public addOrderTotalConfiguration(mixed $moduleCode, mixed $artikelNr, mixed $artikelName[, mixed $factor = 1 ], mixed $taxRate) : mixed
Parameters
$moduleCode : mixed
$artikelNr : mixed
$artikelName : mixed
$factor : mixed = 1
$taxRate : mixed
Return values
mixed

addPaymentMapping()

public addPaymentMapping(mixed $moduleCode, mixed $afterbuyName, mixed $afterbuyId) : mixed
Parameters
$moduleCode : mixed
$afterbuyName : mixed
$afterbuyId : mixed
Return values
mixed

orderIsPaid()

Checks if the order is to be considered paid in full.

public orderIsPaid() : bool

An order is paid if the order status configured as order_status_paid is found in the order’s status history.

Return values
bool

convertPrice()

protected convertPrice(mixed $price[, mixed $currencyFactor = 1.0 ]) : mixed
Parameters
$price : mixed
$currencyFactor : mixed = 1.0
Return values
mixed

getProductUrl()

protected getProductUrl(int $productsId, string $productName) : string
Parameters
$productsId : int
$productName : string
Return values
string

mapPayment()

protected mapPayment(mixed $paymentCode) : mixed
Parameters
$paymentCode : mixed
Return values
mixed

Search results