CustomerEntity
in package
Table of Contents
Properties
- $allowDirectDebit : bool
- $billingAddress : array<string|int, mixed>
- $deleted : bool
- $email : string
- $excessPaymentApplied : int
- $excessPaymentBalance : int
- $id : string
- $primaryPaymentSourceId : string
- $promotionalCreditApplied : int
- $promotionalCreditBalance : int
- $refundableCreditApplied : int
- $refundableCreditBalance : int
- $taxability : string
- $taxRate : int
- $unbilledCharges : int
- $vatNumber : string
Methods
- addExcessPaymentApplied() : mixed
- addPromotionalCreditApplied() : mixed
- addRefundableCreditApplied() : mixed
- fromChargeBeeResponse() : self
- getAllowDirectDebit() : bool|null
- Get the value of allowDirectDebit
- getBillingAddress() : array<string|int, mixed>|null
- Get the value of billingAddress
- getDeleted() : bool|null
- Get the value of deleted
- getEmail() : string|null
- Get the value of email
- getExcessPaymentApplied() : int
- getExcessPaymentBalance() : int
- getExcessPaymentRemaining() : mixed
- getId() : string
- Get the value of id
- getPrimaryPaymentSourceId() : string|null
- Get the value of primaryPaymentSourceId
- getPromotionalCreditApplied() : int
- getPromotionalCreditBalance() : int
- getPromotionalCreditRemaining() : mixed
- getRefundableCreditApplied() : int
- getRefundableCreditBalance() : int
- getRefundableCreditRemaining() : mixed
- getTaxability() : string|null
- Get the value of taxability
- getTaxRate() : int
- getUnbilledCharges() : int
- getVatNumber() : string|null
- Get the value of vatNumber
- setAllowDirectDebit() : self
- Set the value of allowDirectDebit
- setBillingAddress() : self
- Set the value of billingAddress
- setDeleted() : self
- Set the value of deleted
- setEmail() : self
- Set the value of email
- setExcessPaymentApplied() : self
- setExcessPaymentBalance() : self
- setId() : self
- Set the value of id
- setPrimaryPaymentSourceId() : self
- Set the value of primaryPaymentSourceId
- setPromotionalCreditApplied() : self
- setPromotionalCreditBalance() : self
- setRefundableCreditApplied() : self
- setRefundableCreditBalance() : self
- setTaxability() : self
- Set the value of taxability
- setTaxRate() : self
- setUnbilledCharges() : self
- setVatNumber() : self
- Set the value of vatNumber
Properties
$allowDirectDebit
private
bool
$allowDirectDebit
$billingAddress
private
array<string|int, mixed>
$billingAddress
$deleted
private
bool
$deleted
private
string
$email
$excessPaymentApplied
private
int
$excessPaymentApplied
= 0
$excessPaymentBalance
private
int
$excessPaymentBalance
= 0
$id
private
string
$id
$primaryPaymentSourceId
private
string
$primaryPaymentSourceId
$promotionalCreditApplied
private
int
$promotionalCreditApplied
= 0
$promotionalCreditBalance
private
int
$promotionalCreditBalance
= 0
$refundableCreditApplied
private
int
$refundableCreditApplied
= 0
$refundableCreditBalance
private
int
$refundableCreditBalance
= 0
$taxability
private
string
$taxability
$taxRate
private
int
$taxRate
= 0
$unbilledCharges
private
int
$unbilledCharges
= 0
$vatNumber
private
string
$vatNumber
Methods
addExcessPaymentApplied()
public
addExcessPaymentApplied(int $excessPaymentApplied) : mixed
Parameters
- $excessPaymentApplied : int
addPromotionalCreditApplied()
public
addPromotionalCreditApplied(int $promotionalCreditApplied) : mixed
Parameters
- $promotionalCreditApplied : int
addRefundableCreditApplied()
public
addRefundableCreditApplied(int $refundableCreditApplied) : mixed
Parameters
- $refundableCreditApplied : int
fromChargeBeeResponse()
public
fromChargeBeeResponse(mixed $customer) : self
Parameters
- $customer : mixed
Return values
selfgetAllowDirectDebit()
Get the value of allowDirectDebit
public
getAllowDirectDebit() : bool|null
Return values
bool|nullgetBillingAddress()
Get the value of billingAddress
public
getBillingAddress() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetDeleted()
Get the value of deleted
public
getDeleted() : bool|null
Return values
bool|nullgetEmail()
Get the value of email
public
getEmail() : string|null
Return values
string|nullgetExcessPaymentApplied()
public
getExcessPaymentApplied() : int
Return values
intgetExcessPaymentBalance()
public
getExcessPaymentBalance() : int
Return values
intgetExcessPaymentRemaining()
public
getExcessPaymentRemaining() : mixed
getId()
Get the value of id
public
getId() : string
Return values
stringgetPrimaryPaymentSourceId()
Get the value of primaryPaymentSourceId
public
getPrimaryPaymentSourceId() : string|null
Return values
string|nullgetPromotionalCreditApplied()
public
getPromotionalCreditApplied() : int
Return values
intgetPromotionalCreditBalance()
public
getPromotionalCreditBalance() : int
Return values
intgetPromotionalCreditRemaining()
public
getPromotionalCreditRemaining() : mixed
getRefundableCreditApplied()
public
getRefundableCreditApplied() : int
Return values
intgetRefundableCreditBalance()
public
getRefundableCreditBalance() : int
Return values
intgetRefundableCreditRemaining()
public
getRefundableCreditRemaining() : mixed
getTaxability()
Get the value of taxability
public
getTaxability() : string|null
Return values
string|nullgetTaxRate()
public
getTaxRate() : int
Return values
intgetUnbilledCharges()
public
getUnbilledCharges() : int
Return values
intgetVatNumber()
Get the value of vatNumber
public
getVatNumber() : string|null
Return values
string|nullsetAllowDirectDebit()
Set the value of allowDirectDebit
public
setAllowDirectDebit(bool|null $allowDirectDebit) : self
Parameters
- $allowDirectDebit : bool|null
Return values
selfsetBillingAddress()
Set the value of billingAddress
public
setBillingAddress(array<string|int, mixed>|null $billingAddress) : self
Parameters
- $billingAddress : array<string|int, mixed>|null
Return values
selfsetDeleted()
Set the value of deleted
public
setDeleted(bool|null $deleted) : self
Parameters
- $deleted : bool|null
Return values
selfsetEmail()
Set the value of email
public
setEmail(string|null $email) : self
Parameters
- $email : string|null
Return values
selfsetExcessPaymentApplied()
public
setExcessPaymentApplied(int $excessPaymentApplied) : self
Parameters
- $excessPaymentApplied : int
Return values
selfsetExcessPaymentBalance()
public
setExcessPaymentBalance(int $excessPaymentBalance) : self
Parameters
- $excessPaymentBalance : int
Return values
selfsetId()
Set the value of id
public
setId(string $id) : self
Parameters
- $id : string
Return values
selfsetPrimaryPaymentSourceId()
Set the value of primaryPaymentSourceId
public
setPrimaryPaymentSourceId(string|null $primaryPaymentSourceId) : self
Parameters
- $primaryPaymentSourceId : string|null
Return values
selfsetPromotionalCreditApplied()
public
setPromotionalCreditApplied(int $promotionalCreditApplied) : self
Parameters
- $promotionalCreditApplied : int
Return values
selfsetPromotionalCreditBalance()
public
setPromotionalCreditBalance(int $promotionalCreditBalance) : self
Parameters
- $promotionalCreditBalance : int
Return values
selfsetRefundableCreditApplied()
public
setRefundableCreditApplied(int $refundableCreditApplied) : self
Parameters
- $refundableCreditApplied : int
Return values
selfsetRefundableCreditBalance()
public
setRefundableCreditBalance(int $refundableCreditBalance) : self
Parameters
- $refundableCreditBalance : int
Return values
selfsetTaxability()
Set the value of taxability
public
setTaxability(string|null $taxability) : self
Parameters
- $taxability : string|null
Return values
selfsetTaxRate()
public
setTaxRate(int $taxRate) : self
Parameters
- $taxRate : int
Return values
selfsetUnbilledCharges()
public
setUnbilledCharges(int $unbilledCharges) : self
Parameters
- $unbilledCharges : int
Return values
selfsetVatNumber()
Set the value of vatNumber
public
setVatNumber(string|null $vatNumber) : self
Parameters
- $vatNumber : string|null