Copied!
  • property string $brand_name
  • property string $locale
  • property string $landing_page
  • property string $shipping_preference
  • property string $user_action
  • property ?\PHPFUI\PayPal\PaymentMethod $payment_method
  • property string $return_url
  • property string $cancel_url
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 PHPFUI\PayPal\Base::getData() : array
 
  • return array<string,mixed>
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 = ['brand_name' => 'string', 'locale' => 'string', 'landing_page' => ['LOGIN', 'BILLING', 'NO_PREFERENCE'], 'shipping_preference' => ['GET_FROM_FILE', 'NO_SHIPPING', 'SET_PROVIDED_ADDRESS'], 'user_action' => ['CONTINUE', 'PAY_NOW', 'SUBSCRIBE_NOW'], 'payment_method' => 'PHPFUI\PayPal\PaymentMethod', 'return_url' => 'string', 'cancel_url' => 'string']
 
  • var array<string,string|string[]>
Properties
protected static array $validFields = ['brand_name' => 'string', 'locale' => 'string', 'landing_page' => ['LOGIN', 'BILLING', 'NO_PREFERENCE'], 'shipping_preference' => ['GET_FROM_FILE', 'NO_SHIPPING', 'SET_PROVIDED_ADDRESS'], 'user_action' => ['CONTINUE', 'PAY_NOW', 'SUBSCRIBE_NOW'], 'payment_method' => 'PHPFUI\PayPal\PaymentMethod', 'return_url' => 'string', 'cancel_url' => 'string']
 
  • var array<string,string|string[]>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration