Copied!
  • property ?\PHPFUI\PayPal\ApplicationContext $application_context
  • property string $intent
CloneableInstantiable
Methods
public __construct(string $intent)
public PHPFUI\PayPal\Base::__get(string $field) : ?mixed
 

Unset fields will return null

public PHPFUI\PayPal\Base::__set(string $field, ?mixed $value) : void
public addPurchaseUnit(PHPFUI\PayPal\PurchaseUnit $purchase_unit) : 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 static array $validFields = ['application_context' => 'PHPFUI\PayPal\ApplicationContext', 'intent' => ['CAPTURE', 'AUTHORIZE']]
 
  • var array<string,string|string[]>
Properties
private array $purchase_units = []
 
  • var \PurchaseUnit[]
Properties
protected static array $validFields = ['application_context' => 'PHPFUI\PayPal\ApplicationContext', 'intent' => ['CAPTURE', 'AUTHORIZE']]
 
  • var array<string,string|string[]>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration