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 ParametersReturnsImplementation of | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getId( )
			
Gets the value of id. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setId( integer $id )
			
Sets the value of id. ParametersReturns | 
	
		| 
			 public 
			DateTime
			
			 | 
		#
		getCreated( )
			
Gets the value of created. 
			
Gets the value of created. Returns
					DateTimeDateTime
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setCreated( DateTime $created )
			
Sets the value of created. 
			
Sets the value of created. ParametersReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getStatus( )
			
Gets the value of status. 
			
Gets the value of status. Returns
					stringstring
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setStatus( string $status )
			
Sets the value of status. 
			
Sets the value of status. ParametersReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getName( )
			
Gets the value of name. Returns
					stringstring
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setName( string $name )
			
Sets the value of name. ParametersReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getDescription( )
			
Gets the value of description. 
			
Gets the value of description. Returns
					stringstring
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setDescription( string $description )
			
Sets the value of description. 
			
Sets the value of description. Parameters
					$descriptionthe descriptionReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getCurrency( )
			
Gets the value of currency. 
			
Gets the value of currency. Returns
					stringstring
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setCurrency( string $currency )
			
Sets the value of currency. 
			
Sets the value of currency. ParametersReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getTrialAmount( )
			
Gets the value of trial_amount. 
			
Gets the value of trial_amount. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setTrialAmount( integer $trial_amount )
			
Sets the value of trial_amount. 
			
Sets the value of trial_amount. Parameters
					$trial_amountthe trial_amountReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getTrialPeriod( )
			
Gets the value of trial_period. 
			
Gets the value of trial_period. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setTrialPeriod( integer $trial_period )
			
Sets the value of trial_period. 
			
Sets the value of trial_period. Parameters
					$trial_periodthe trial_periodReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getTrialPeriodUnit( )
			
Gets the value of trial_period_unit. 
			
Gets the value of trial_period_unit. Returns
					stringstring
 
 | 
	
		| 
			 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_unitthe trial_period_unitReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getTrialCycles( )
			
Gets the value of trial_cycles. 
			
Gets the value of trial_cycles. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setTrialCycles( integer $trial_cycles )
			
Sets the value of trial_cycles. 
			
Sets the value of trial_cycles. Parameters
					$trial_cyclesthe trial_cyclesReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getInitialAmount( )
			
Gets the value of initial_amount. 
			
Gets the value of initial_amount. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setInitialAmount( integer $initial_amount )
			
Sets the value of initial_amount. 
			
Sets the value of initial_amount. Parameters
					$initial_amountthe initial_amountReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getBillingAmount( )
			
Gets the value of billing_amount. 
			
Gets the value of billing_amount. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setBillingAmount( integer $billing_amount )
			
Sets the value of billing_amount. 
			
Sets the value of billing_amount. Parameters
					$billing_amountthe billing_amountReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getBillingPeriod( )
			
Gets the value of billing_period. 
			
Gets the value of billing_period. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setBillingPeriod( integer $billing_period )
			
Sets the value of billing_period. 
			
Sets the value of billing_period. Parameters
					$billing_periodthe billing_periodReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getBillingPeriodUnit( )
			
Gets the value of billing_period_unit. 
			
Gets the value of billing_period_unit. Returns
					stringstring
 
 | 
	
		| 
			 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_unitthe billing_period_unitReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getBillingCycles( )
			
Gets the value of billing_cycles. 
			
Gets the value of billing_cycles. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setBillingCycles( integer $billing_cycles )
			
Sets the value of billing_cycles. 
			
Sets the value of billing_cycles. Parameters
					$billing_cyclesthe billing_cyclesReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getRetryMapId( )
			
Gets the value of retry_map_id. 
			
Gets the value of retry_map_id. Returns
					integerinteger
 
 | 
	
		| 
			 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_idthe retry_map_idReturns | 
	
		| 
			 public 
			string
			
			 | 
		#
		getType( )
			
Gets the value of type. Returns
					stringstring
 
 Overrides | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setType( string $type )
			
Sets the value of type. ParametersReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getTotalAmount( )
			
Gets the value of total_amount. 
			
Gets the value of total_amount. Returns
					integerinteger
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setTotalAmount( integer $total_amount )
			
Sets the value of total_amount. 
			
Sets the value of total_amount. Parameters
					$total_amountthe total_amountReturns | 
	
		| 
			 public 
			integer
			
			 | 
		#
		getDefaultCaptureDelay( )
			
Gets the value of $default_capture_delay. 
			
Gets the value of $default_capture_delay. Returns
					integerint
 
 | 
	
		| 
			 public 
			Syspay_Merchant_Entity_Plan | 
		#
		setDefaultCaptureDelay( integer $default_capture_delay )
			
Sets the value of $default_capture_delay. 
			
Sets the value of $default_capture_delay. ParametersReturns |