Documentation

ShoppingSession
in package
implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$cart  : Cart
$clientId  : int
$createTime  : int
$customer  : Customer
$estimate  : Estimate|null
$orderId  : string|null
$userAccountId  : int

Methods

__construct()  : mixed
getAddons()  : array<string|int, CartAddon>
getAmazonSlotSubscription()  : AmazonSlotSubscription
Get the value of vatRegSubscriptions
getCart()  : Cart
getClientId()  : int
getCoupons()  : array<string|int, Coupon>
Get the value of coupons
getCouponsAreValid()  : bool|null
getCreateTime()  : int
Get timestamp
getCustomer()  : Customer
getDatevSubscription()  : mixed
getEstimate()  : Estimate|null
Get the value of estimate
getOffer()  : Offer|null
getOrderId()  : string|null
Get the value of orderId
getOssSubscription()  : OssSubscription
Get the value of proformaSubscription
getProformaSubscription()  : ProformaSubscription
Get the value of proformaSubscription
getShopifySlotSubscription()  : ShopifySlotSubscription
Get the value of shopifySlotSubscription
getSubscriptions()  : array<string|int, VatRegSubscription|ProformaSubscription|OssSubscription>
getUserAccountId()  : int
getVatRegSubscriptions()  : array<string|int, VatRegSubscription>
Get the value of vatRegSubscriptions
jsonSerialize()  : mixed
setCoupons()  : mixed
setEstimate()  : self
Set the value of estimate
setOffer()  : mixed
setOrderId()  : self
Set the value of orderId
toArray()  : mixed
toValidatorArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(int $clientId, int $userAccountId, Customer $customer, Cart $cart) : mixed
Parameters
$clientId : int
$userAccountId : int
$customer : Customer
$cart : Cart

getCouponsAreValid()

public getCouponsAreValid() : bool|null
Return values
bool|null

getCreateTime()

Get timestamp

public getCreateTime() : int
Return values
int

getEstimate()

Get the value of estimate

public getEstimate() : Estimate|null
Return values
Estimate|null

getOrderId()

Get the value of orderId

public getOrderId() : string|null
Return values
string|null

getUserAccountId()

public getUserAccountId() : int
Return values
int

setCoupons()

public setCoupons(array<string|int, mixed> $coupons) : mixed
Parameters
$coupons : array<string|int, mixed>

setEstimate()

Set the value of estimate

public setEstimate(Estimate|null $estimate) : self
Parameters
$estimate : Estimate|null
Return values
self

setOrderId()

Set the value of orderId

public setOrderId(string|null $orderId) : self
Parameters
$orderId : string|null
Return values
self

toValidatorArray()

public toValidatorArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results