SetBasketAddressesBookParametersGroup extends ParametersGroup

This is the basket model (set addresses) parameters group class.

Table of Contents

$billingAddressId  : int
$shippingAddressId  : int
$useShippingAddress  : bool
$validator  : ParametersValidator
setBillingAddressId() Sets the billingAddressId parameter for this parameters group.  : void
setShippingAddressId() Sets the shippingAddressId parameter for this parameters group.  : void
setUseShippingAddress() Sets the useShippingAddress parameter for this parameters group.  : void
toArray() Returns the object data on array format.  : array<string|int, mixed>
filter()  : array<string|int, mixed>
getInstantiatedValidator()  : ParametersValidator
getValidator()  : SetBasketAddressesBookParametersValidator

Properties

Methods

setBillingAddressId()

Sets the billingAddressId parameter for this parameters group.

public setBillingAddressId(int $billingAddressId) : void
Parameters
$billingAddressId : int
Return values
void

setShippingAddressId()

Sets the shippingAddressId parameter for this parameters group.

public setShippingAddressId(int $shippingAddressId) : void
Parameters
$shippingAddressId : int
Return values
void

setUseShippingAddress()

Sets the useShippingAddress parameter for this parameters group.

public setUseShippingAddress(bool $useShippingAddress) : void
Parameters
$useShippingAddress : bool
Return values
void

toArray()

Returns the object data on array format.

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

filter()

protected filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results