OrderServiceSettings
in package
implements
OrderServiceSettingsInterface
Value Object
Class OrderServiceSettings
Represents the default settings of an order
Tags
Interfaces, Classes and Traits
- OrderServiceSettingsInterface
- Value Object
Table of Contents
- $defaultCustomerStatusId : int
- The default Id of a customer status
- $defaultGuestStatusId : int
- The default Id of a guest status id
- $defaultOrderStatusId : int
- The default Id of an order status
- __construct() : mixed
- Constructor of the class CustomerServiceSettings
- getDefaultCustomerStatusId() : int
- Returns the default customer status ID.
- getDefaultGuestStatusId() : int
- Returns the default guest status ID.
- getDefaultOrderStatusId() : int
- Returns the default order status ID.
Properties
$defaultCustomerStatusId
The default Id of a customer status
protected
int
$defaultCustomerStatusId
$defaultGuestStatusId
The default Id of a guest status id
protected
int
$defaultGuestStatusId
$defaultOrderStatusId
The default Id of an order status
protected
int
$defaultOrderStatusId
Methods
__construct()
Constructor of the class CustomerServiceSettings
public
__construct(IntType $defaultOrderStatusId, IntType $defaultCustomerStatusId, IntType $defaultGuestStatusId) : mixed
Sets default order status id from constant
Parameters
Return values
mixed —getDefaultCustomerStatusId()
Returns the default customer status ID.
public
getDefaultCustomerStatusId() : int
Return values
int —Default customer status ID.
getDefaultGuestStatusId()
Returns the default guest status ID.
public
getDefaultGuestStatusId() : int
Return values
int —Default guest status ID
getDefaultOrderStatusId()
Returns the default order status ID.
public
getDefaultOrderStatusId() : int
Return values
int —Default order status ID.