Buyer
in package
Tags
Table of Contents
Properties
- $buyerAddress1 : string|null
- $buyerAddress2 : string|null
- $buyerCity : string|null
- $buyerCountry : string|null
- $buyerEmail : string|null
- $buyerName : string|null
- $buyerNotify : bool|null
- $buyerPhone : string|null
- $buyerState : string|null
- $buyerZip : string|null
Methods
- __construct() : mixed
- getBuyerAddress1() : string|null
- Gets address 1
- getBuyerAddress2() : string|null
- Gets address2
- getBuyerCity() : string|null
- Gets city
- getBuyerCountry() : string|null
- Gets country
- getBuyerEmail() : string|null
- Gets email
- getBuyerName() : string|null
- Gets name
- getBuyerNotify() : bool|null
- Gets notify
- getBuyerPhone() : string|null
- Gets phone
- getBuyerState() : string|null
- Gets state
- getBuyerZip() : string|null
- Gets zip
- setBuyerAddress1() : void
- Sets address1
- setBuyerAddress2() : void
- Sets address2
- setBuyerCity() : void
- Sets city
- setBuyerCountry() : void
- Sets country
- setBuyerEmail() : void
- Sets email
- setBuyerName() : void
- Sets name
- setBuyerNotify() : void
- Sets notify
- setBuyerPhone() : void
- Sets phone
- setBuyerState() : void
- Sets state
- setBuyerZip() : void
- Sets zip
- toArray() : array<string|int, mixed>
- Gets Buyer as array
Properties
$buyerAddress1
protected
string|null
$buyerAddress1
= null
$buyerAddress2
protected
string|null
$buyerAddress2
= null
$buyerCity
protected
string|null
$buyerCity
= null
$buyerCountry
protected
string|null
$buyerCountry
= null
$buyerEmail
protected
string|null
$buyerEmail
= null
$buyerName
protected
string|null
$buyerName
= null
$buyerNotify
protected
bool|null
$buyerNotify
= null
$buyerPhone
protected
string|null
$buyerPhone
= null
$buyerState
protected
string|null
$buyerState
= null
$buyerZip
protected
string|null
$buyerZip
= null
Methods
__construct()
public
__construct() : mixed
getBuyerAddress1()
Gets address 1
public
getBuyerAddress1() : string|null
Return values
string|null —the address1
getBuyerAddress2()
Gets address2
public
getBuyerAddress2() : string|null
Return values
string|null —the address2
getBuyerCity()
Gets city
public
getBuyerCity() : string|null
Return values
string|null —the city
getBuyerCountry()
Gets country
public
getBuyerCountry() : string|null
Return values
string|null —the country
getBuyerEmail()
Gets email
public
getBuyerEmail() : string|null
Return values
string|null —the email
getBuyerName()
Gets name
public
getBuyerName() : string|null
Return values
string|null —the name
getBuyerNotify()
Gets notify
public
getBuyerNotify() : bool|null
Return values
bool|null —notify
getBuyerPhone()
Gets phone
public
getBuyerPhone() : string|null
Return values
string|null —the phone
getBuyerState()
Gets state
public
getBuyerState() : string|null
Return values
string|null —the state
getBuyerZip()
Gets zip
public
getBuyerZip() : string|null
Return values
string|null —the zip
setBuyerAddress1()
Sets address1
public
setBuyerAddress1(string $address1) : void
Parameters
- $address1 : string
-
the address1
setBuyerAddress2()
Sets address2
public
setBuyerAddress2(string $address2) : void
Parameters
- $address2 : string
-
the address2
setBuyerCity()
Sets city
public
setBuyerCity(string $city) : void
Parameters
- $city : string
-
the city
setBuyerCountry()
Sets country
public
setBuyerCountry(string $country) : void
Parameters
- $country : string
-
the country
setBuyerEmail()
Sets email
public
setBuyerEmail(string $email) : void
Parameters
- $email : string
-
the email
setBuyerName()
Sets name
public
setBuyerName(string $name) : void
Parameters
- $name : string
-
the name
setBuyerNotify()
Sets notify
public
setBuyerNotify(bool $notify) : void
Parameters
- $notify : bool
-
notify
setBuyerPhone()
Sets phone
public
setBuyerPhone(string $phone) : void
Parameters
- $phone : string
-
the phone
setBuyerState()
Sets state
public
setBuyerState(string $state) : void
Parameters
- $state : string
-
the state
setBuyerZip()
Sets zip
public
setBuyerZip(string $zip) : void
Parameters
- $zip : string
-
the zip
toArray()
Gets Buyer as array
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —Buyer as array