Methods summary
public static
Syspay_Merchant_Entity_Plan
|
#
buildFromResponse( stdClass $response )
Build a plan entity based on a json-decoded plan stdClass
Build a plan entity based on a json-decoded plan stdClass
Parameters
Returns
Implementation of
|
public
integer
|
#
getId( )
Gets the value of id.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setId( integer $id )
Sets the value of id.
Parameters
Returns
|
public
DateTime
|
#
getCreated( )
Gets the value of created.
Gets the value of created.
Returns
DateTime DateTime
|
public
Syspay_Merchant_Entity_Plan
|
#
setCreated( DateTime $created )
Sets the value of created.
Sets the value of created.
Parameters
Returns
|
public
string
|
#
getStatus( )
Gets the value of status.
Gets the value of status.
Returns
string string
|
public
Syspay_Merchant_Entity_Plan
|
#
setStatus( string $status )
Sets the value of status.
Sets the value of status.
Parameters
Returns
|
public
string
|
#
getName( )
Gets the value of name.
Returns
string string
|
public
Syspay_Merchant_Entity_Plan
|
#
setName( string $name )
Sets the value of name.
Parameters
Returns
|
public
string
|
#
getDescription( )
Gets the value of description.
Gets the value of description.
Returns
string string
|
public
Syspay_Merchant_Entity_Plan
|
#
setDescription( string $description )
Sets the value of description.
Sets the value of description.
Parameters
- $description
- the description
Returns
|
public
string
|
#
getCurrency( )
Gets the value of currency.
Gets the value of currency.
Returns
string string
|
public
Syspay_Merchant_Entity_Plan
|
#
setCurrency( string $currency )
Sets the value of currency.
Sets the value of currency.
Parameters
Returns
|
public
integer
|
#
getTrialAmount( )
Gets the value of trial_amount.
Gets the value of trial_amount.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setTrialAmount( integer $trial_amount )
Sets the value of trial_amount.
Sets the value of trial_amount.
Parameters
- $trial_amount
- the trial_amount
Returns
|
public
integer
|
#
getTrialPeriod( )
Gets the value of trial_period.
Gets the value of trial_period.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setTrialPeriod( integer $trial_period )
Sets the value of trial_period.
Sets the value of trial_period.
Parameters
- $trial_period
- the trial_period
Returns
|
public
string
|
#
getTrialPeriodUnit( )
Gets the value of trial_period_unit.
Gets the value of trial_period_unit.
Returns
string string
|
public
Syspay_Merchant_Entity_Plan
|
#
setTrialPeriodUnit( string $trial_period_unit )
Sets the value of trial_period_unit.
Sets the value of trial_period_unit.
Parameters
- $trial_period_unit
- the trial_period_unit
Returns
|
public
integer
|
#
getTrialCycles( )
Gets the value of trial_cycles.
Gets the value of trial_cycles.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setTrialCycles( integer $trial_cycles )
Sets the value of trial_cycles.
Sets the value of trial_cycles.
Parameters
- $trial_cycles
- the trial_cycles
Returns
|
public
integer
|
#
getInitialAmount( )
Gets the value of initial_amount.
Gets the value of initial_amount.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setInitialAmount( integer $initial_amount )
Sets the value of initial_amount.
Sets the value of initial_amount.
Parameters
- $initial_amount
- the initial_amount
Returns
|
public
integer
|
#
getBillingAmount( )
Gets the value of billing_amount.
Gets the value of billing_amount.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setBillingAmount( integer $billing_amount )
Sets the value of billing_amount.
Sets the value of billing_amount.
Parameters
- $billing_amount
- the billing_amount
Returns
|
public
integer
|
#
getBillingPeriod( )
Gets the value of billing_period.
Gets the value of billing_period.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setBillingPeriod( integer $billing_period )
Sets the value of billing_period.
Sets the value of billing_period.
Parameters
- $billing_period
- the billing_period
Returns
|
public
string
|
#
getBillingPeriodUnit( )
Gets the value of billing_period_unit.
Gets the value of billing_period_unit.
Returns
string string
|
public
Syspay_Merchant_Entity_Plan
|
#
setBillingPeriodUnit( string $billing_period_unit )
Sets the value of billing_period_unit.
Sets the value of billing_period_unit.
Parameters
- $billing_period_unit
- the billing_period_unit
Returns
|
public
integer
|
#
getBillingCycles( )
Gets the value of billing_cycles.
Gets the value of billing_cycles.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setBillingCycles( integer $billing_cycles )
Sets the value of billing_cycles.
Sets the value of billing_cycles.
Parameters
- $billing_cycles
- the billing_cycles
Returns
|
public
integer
|
#
getRetryMapId( )
Gets the value of retry_map_id.
Gets the value of retry_map_id.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setRetryMapId( integer $retry_map_id )
Sets the value of retry_map_id.
Sets the value of retry_map_id.
Parameters
- $retry_map_id
- the retry_map_id
Returns
|
public
string
|
#
getType( )
Gets the value of type.
Returns
string string
Overrides
|
public
Syspay_Merchant_Entity_Plan
|
#
setType( string $type )
Sets the value of type.
Parameters
Returns
|
public
integer
|
#
getTotalAmount( )
Gets the value of total_amount.
Gets the value of total_amount.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Plan
|
#
setTotalAmount( integer $total_amount )
Sets the value of total_amount.
Sets the value of total_amount.
Parameters
- $total_amount
- the total_amount
Returns
|
public
integer
|
#
getDefaultCaptureDelay( )
Gets the value of $default_capture_delay.
Gets the value of $default_capture_delay.
Returns
integer int
|
public
Syspay_Merchant_Entity_Plan
|
#
setDefaultCaptureDelay( integer $default_capture_delay )
Sets the value of $default_capture_delay.
Sets the value of $default_capture_delay.
Parameters
Returns
|