CloneableInstantiable
ExtendsPHPFUI\PayPal\Base
Methods
public __construct(string $name, int $quantity, PHPFUI\PayPal\Currency $unit_amount)
public PHPFUI\PayPal\Base::__get(string $field)
 

Unset fields will return null

public PHPFUI\PayPal\Base::__set(string $field, $value) : void
public PHPFUI\PayPal\Base::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.

Properties
protected static $validFields = ['name' => 'string', 'quantity' => 'integer', 'description' => 'string', 'sku' => 'string', 'tax' => 'PHPFUI\PayPal\Currency', 'category' => ['DIGITAL_GOODS', 'PHYSICAL_GOODS'], 'unit_amount' => 'PHPFUI\PayPal\Currency']
Properties
protected static $validFields = ['name' => 'string', 'quantity' => 'integer', 'description' => 'string', 'sku' => 'string', 'tax' => 'PHPFUI\PayPal\Currency', 'category' => ['DIGITAL_GOODS', 'PHYSICAL_GOODS'], 'unit_amount' => 'PHPFUI\PayPal\Currency']
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only