CheckoutService
Namespace
IO\Services
| Type | Name | Description | 
|---|---|---|
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | 
Methods
public __construct($frontendPaymentMethodRepository, $checkout, $basketRepository, $sessionStorage, $customerService, $parcelServicePresetRepo, $currencyExchangeRepo, $basketService, $sessionStorageService, $webstoreConfigurationService)CheckoutService constructor.
| Type | Name | Description | 
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | 
public getCheckout($retry = true):arrayGet the relevant data for the checkout
| Type | Name | Description | 
| 
 | Try loading checkout again on failure (e.g. problems during calculating totals) | 
public getCurrency():stringGet the current currency from the session
public setCurrency($currency)Set the current currency from the session
| Type | Name | Description | 
| 
 | 
public getCurrencyList()public getCurrencyData()public getCurrencyPattern()public getMethodOfPaymentId():intGet the ID of the current payment method
public setMethodOfPaymentId($methodOfPaymentID)Set the ID of the current payment method
| Type | Name | Description | 
| 
 | 
public preparePayment():arrayPrepare the payment
public getMethodOfPaymentList():arrayList all available payment methods
public getMethodOfPaymentExpressCheckoutList():arrayList all payment methods available for express checkout
public getCheckoutPaymentDataList():arrayGet a list of the payment method data
public getShippingProfileList():arrayGet the shipping profile list
public getShippingCountryId():intGet the ID of the current shipping country
public setShippingCountryId($shippingCountryId)Set the ID of thevcurrent shipping country
| Type | Name | Description | 
| 
 | 
public getShippingProfileId():intGet the ID of the current shipping profile
public setShippingProfileId($shippingProfileId)Set the ID of the current shipping profile
| Type | Name | Description | 
| 
 | 
public getDeliveryAddressId():intGet the ID of the current delivery address
public setDeliveryAddressId($deliveryAddressId)Set the ID of the current delivery address
| Type | Name | Description | 
| 
 | 
public getBillingAddressId():intGet the ID of the current invoice address
public setBillingAddressId($billingAddressId)Set the ID of the current invoice address
| Type | Name | Description | 
| 
 | 
public setDefaultShippingCountryId()public getMaxDeliveryDays()public setReadOnlyCheckout($readonly)| Type | Name | Description | 
| 
 | 
public getReadOnlyCheckout()public fromMemoryCache()public resetMemoryCache($key = null)| Type | Name | Description | 
| 
 |