phpDocumentor

OrderAddressType

Class OrderAddressType

Table of Contents

TYPE_BILLING  = 'billing'
TYPE_CUSTOMER  = 'customer'
TYPE_DELIVERY  = 'delivery'
$type  : string
billingAddress()  : static
Creates a billing address type.
customerAddress()  : static
Creates a customer address type.
deliveryAddress()  : static
Creates a delivery address type.
isBillingAddress()  : bool
isCustomerAddress()  : bool
isDeliveryAddress()  : bool
__construct()  : mixed
OrderAddressType constructor.

Constants

Properties

Methods

billingAddress()

Creates a billing address type.

public static billingAddress() : static
Return values
static

customerAddress()

Creates a customer address type.

public static customerAddress() : static
Return values
static

deliveryAddress()

Creates a delivery address type.

public static deliveryAddress() : static
Return values
static

isBillingAddress()

public isBillingAddress() : bool
Return values
bool

isCustomerAddress()

public isCustomerAddress() : bool
Return values
bool

isDeliveryAddress()

public isDeliveryAddress() : bool
Return values
bool

__construct()

OrderAddressType constructor.

private __construct(string $type) : mixed
Parameters
$type : string
Return values
mixed

Search results