AfterbuyOrderSender
in package
Table of Contents
- AFTERBUY_URL = 'https://api.afterbuy.de/afterbuy/ShopInterfaceUTF8.aspx'
- ARTIKELERKENNUNG = '1'
- 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
- getTaxRate() : mixed
- mapPayment() : mixed
- sendData() : mixed
Constants
AFTERBUY_URL
public
mixed
AFTERBUY_URL
= 'https://api.afterbuy.de/afterbuy/ShopInterfaceUTF8.aspx'
ARTIKELERKENNUNG
public
mixed
ARTIKELERKENNUNG
= '1'
FEEDBACKDATUM
public
mixed
FEEDBACKDATUM
= '0'
KUNDENERKENNUNG
public
mixed
KUNDENERKENNUNG
= '1'
REQUEST_TIMEOUT
public
mixed
REQUEST_TIMEOUT
= 5
VERSANDERMITTLUNG_AB
public
mixed
VERSANDERMITTLUNG_AB
= 1
VERWENDE_SHOP_ARTIKELNUMMER
public
mixed
VERWENDE_SHOP_ARTIKELNUMMER
= ""
Properties
$b2bStatusIds
protected
mixed
$b2bStatusIds
$configuration
protected
mixed
$configuration
$logger
protected
mixed
$logger
$order
protected
OrderInterface
$order
$orderId
protected
mixed
$orderId
$orderStatus
protected
mixed
$orderStatus
$orderTotalConfiguration
protected
mixed
$orderTotalConfiguration
$partnerID
protected
mixed
$partnerID
$partnerPass
protected
mixed
$partnerPass
$paymentMapping
protected
mixed
$paymentMapping
$userID
protected
mixed
$userID
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
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 —prepareData()
public
prepareData() : mixed
Return values
mixed —processOrder()
public
processOrder() : mixed
Tags
Return values
mixed —convertPrice()
protected
convertPrice(mixed $price[, mixed $currencyFactor = 1.0 ]) : mixed
Parameters
- $price : mixed
- $currencyFactor : mixed = 1.0
Return values
mixed —getAttributeModel()
protected
getAttributeModel(mixed $productsId, StoredOrderItemAttribute $orderItemAttribute) : mixed
Parameters
- $productsId : mixed
- $orderItemAttribute : StoredOrderItemAttribute
Return values
mixed —getTaxRate()
protected
getTaxRate(mixed $taxClassId, CustomerCountryInterface $country, CustomerCountryZoneInterface $zone) : mixed
Parameters
- $taxClassId : mixed
- $country : CustomerCountryInterface
- $zone : CustomerCountryZoneInterface
Return values
mixed —mapPayment()
protected
mapPayment(mixed $paymentCode) : mixed
Parameters
- $paymentCode : mixed
Return values
mixed —sendData()
protected
sendData( $data) : mixed