CheckoutRequestDatev
in package
implements
JsonSerializable
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $couponCodes : array<string|int, CheckoutRequestDatevCouponCode>
- $id : int|null
- $plan : CheckoutPlan
- $recurringCost : int
- $request : CheckoutRequest
- $serviceStartDate : DateTime
- $setupCost : int
- $status : int
- $subscriptionId : string
- $subscriptionStartDate : DateTime
Methods
- __construct() : mixed
- getCouponCodes() : array<string|int, CheckoutRequestDatevCouponCode>
- getId() : int|null
- Get $id
- getPlan() : CheckoutPlan
- Get the value of plan
- getRecurringCost() : int
- Get the value of recurringCost
- getRequest() : CheckoutRequest
- Get the value of request
- getServiceStartDate() : DateTime
- Get the value of serviceStartDate
- getSetupCost() : int
- Get the value of setupCost
- getStatus() : int
- Get the value of status
- getSubscriptionId() : string
- Get the value of subscriptionId
- getSubscriptionStartDate() : DateTime
- Get the value of subscriptionStartDate
- jsonSerialize() : mixed
- setCouponCodes() : void
- setPlan() : self
- Set the value of plan
- setRecurringCost() : self
- Set the value of recurringCost
- setRequest() : self
- Set the value of request
- setServiceStartDate() : self
- Set the value of serviceStartDate
- setSetupCost() : self
- Set the value of setupCost
- setStatus() : self
- Set the value of status
- setSubscriptionId() : self
- Set the value of subscriptionId
- setSubscriptionStartDate() : self
- Set the value of subscriptionStartDate
Properties
$couponCodes
private
array<string|int, CheckoutRequestDatevCouponCode>
$couponCodes
Tags
$id
private
int|null
$id
Tags
$plan
private
CheckoutPlan
$plan
Tags
$recurringCost
private
int
$recurringCost
Tags
$request
private
CheckoutRequest
$request
Tags
$serviceStartDate
private
DateTime
$serviceStartDate
Tags
$setupCost
private
int
$setupCost
Tags
$status
private
int
$status
Tags
$subscriptionId
private
string
$subscriptionId
Tags
$subscriptionStartDate
private
DateTime
$subscriptionStartDate
Tags
Methods
__construct()
public
__construct(CheckoutRequest $request) : mixed
Parameters
- $request : CheckoutRequest
getCouponCodes()
public
getCouponCodes() : array<string|int, CheckoutRequestDatevCouponCode>
Return values
array<string|int, CheckoutRequestDatevCouponCode>getId()
Get $id
public
getId() : int|null
Return values
int|nullgetPlan()
Get the value of plan
public
getPlan() : CheckoutPlan
Return values
CheckoutPlangetRecurringCost()
Get the value of recurringCost
public
getRecurringCost() : int
Return values
intgetRequest()
Get the value of request
public
getRequest() : CheckoutRequest
Return values
CheckoutRequestgetServiceStartDate()
Get the value of serviceStartDate
public
getServiceStartDate() : DateTime
Return values
DateTimegetSetupCost()
Get the value of setupCost
public
getSetupCost() : int
Return values
intgetStatus()
Get the value of status
public
getStatus() : int
Return values
intgetSubscriptionId()
Get the value of subscriptionId
public
getSubscriptionId() : string
Return values
stringgetSubscriptionStartDate()
Get the value of subscriptionStartDate
public
getSubscriptionStartDate() : DateTime
Return values
DateTimejsonSerialize()
public
jsonSerialize() : mixed
setCouponCodes()
public
setCouponCodes(array<string|int, CheckoutRequestDatevCouponCode> $couponCodes) : void
Parameters
- $couponCodes : array<string|int, CheckoutRequestDatevCouponCode>
setPlan()
Set the value of plan
public
setPlan(CheckoutPlan $plan) : self
Parameters
- $plan : CheckoutPlan
Return values
selfsetRecurringCost()
Set the value of recurringCost
public
setRecurringCost(int $recurringCost) : self
Parameters
- $recurringCost : int
Return values
selfsetRequest()
Set the value of request
public
setRequest(CheckoutRequest $request) : self
Parameters
- $request : CheckoutRequest
Return values
selfsetServiceStartDate()
Set the value of serviceStartDate
public
setServiceStartDate(DateTime $serviceStartDate) : self
Parameters
- $serviceStartDate : DateTime
Return values
selfsetSetupCost()
Set the value of setupCost
public
setSetupCost(int $setupCost) : self
Parameters
- $setupCost : int
Return values
selfsetStatus()
Set the value of status
public
setStatus(int $status) : self
Parameters
- $status : int
Return values
selfsetSubscriptionId()
Set the value of subscriptionId
public
setSubscriptionId(string $subscriptionId) : self
Parameters
- $subscriptionId : string
Return values
selfsetSubscriptionStartDate()
Set the value of subscriptionStartDate
public
setSubscriptionStartDate(DateTime $subscriptionStartDate) : self
Parameters
- $subscriptionStartDate : DateTime