Copied!
  • property string $product_id
  • property string $description
  • property string $name
  • property string $status
  • property ?\PHPFUI\PayPal\PaymentPreferences $payment_preferences
  • property ?\PHPFUI\PayPal\Taxes $taxes
  • property bool $quantity_supported
CloneableInstantiable
Methods
public PHPFUI\PayPal\Base::__construct()
public PHPFUI\PayPal\Base::__get(string $field) : ?mixed
 

Unset fields will return null

public PHPFUI\PayPal\Base::__set(string $field, ?mixed $value) : void
public addBillingCycle(PHPFUI\PayPal\BillingCycle $billing_cycle) : static
public getData() : array
public PHPFUI\PayPal\Base::getJSON() : string
public PHPFUI\PayPal\Base::getValidFields() : array
 

Return all the valid fields for the object. Index is field name and value is the type.

  • return array<string,string>
Properties
protected array $billing_cycles = []
 
  • var \BillingCycle[]
protected static array $validFields = ['product_id' => 'string', 'description' => 'string', 'name' => 'string', 'status' => ['CREATED', 'INACTIVE', 'ACTIVE'], 'payment_preferences' => 'PHPFUI\PayPal\PaymentPreferences', 'taxes' => 'PHPFUI\PayPal\Taxes', 'quantity_supported' => 'boolean']
 
  • var array<string,string|string[]>
Properties
protected static array $validFields = ['product_id' => 'string', 'description' => 'string', 'name' => 'string', 'status' => ['CREATED', 'INACTIVE', 'ACTIVE'], 'payment_preferences' => 'PHPFUI\PayPal\PaymentPreferences', 'taxes' => 'PHPFUI\PayPal\Taxes', 'quantity_supported' => 'boolean']
 
  • var array<string,string|string[]>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration