Class InputFields
Class InputFields
Parameters for input fields customization.
-
PayPal\Common\PayPalModel
-
PayPal\Api\InputFields
Methods summary
public
|
#
setAllowNote( boolean $allow_note )
Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
Parameters
Returns
$this
|
public
boolean
|
#
getAllowNote( )
Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
Returns
boolean
|
public
|
#
setNoShipping( integer $no_shipping )
Indicates whether PayPal displays shipping address fields on the experience pages. Valid value is 0 , 1 , or 2 . Set to 0 to display the shipping address on the PayPal pages. Set to 1 to redact shipping address fields from the PayPal pages. Set to 2 to not pass the shipping address but instead get it from the buyer's account profile. For digital goods, this field is required and value must be 1 .
Indicates whether PayPal displays shipping address fields on the experience pages. Valid value is 0 , 1 , or 2 . Set to 0 to display the shipping address on the PayPal pages. Set to 1 to redact shipping address fields from the PayPal pages. Set to 2 to not pass the shipping address but instead get it from the buyer's account profile. For digital goods, this field is required and value must be 1 .
Parameters
Returns
$this
|
public
integer
|
#
getNoShipping( )
Indicates whether PayPal displays shipping address fields on the experience pages. Valid value is 0 , 1 , or 2 . Set to 0 to display the shipping address on the PayPal pages. Set to 1 to redact shipping address fields from the PayPal pages. Set to 2 to not pass the shipping address but instead get it from the buyer's account profile. For digital goods, this field is required and value must be 1 .
Indicates whether PayPal displays shipping address fields on the experience pages. Valid value is 0 , 1 , or 2 . Set to 0 to display the shipping address on the PayPal pages. Set to 1 to redact shipping address fields from the PayPal pages. Set to 2 to not pass the shipping address but instead get it from the buyer's account profile. For digital goods, this field is required and value must be 1 .
Returns
integer
|
public
|
#
setAddressOverride( integer $address_override )
Indicates whether to display the shipping address that is passed to this call rather than the one on file with PayPal for this buyer on the PayPal experience pages. Valid value is 0 or 1 . Set to 0 to display the shipping address on file. Set to 1 to display the shipping address supplied to this call; the buyer cannot edit this shipping address.
Indicates whether to display the shipping address that is passed to this call rather than the one on file with PayPal for this buyer on the PayPal experience pages. Valid value is 0 or 1 . Set to 0 to display the shipping address on file. Set to 1 to display the shipping address supplied to this call; the buyer cannot edit this shipping address.
Parameters
Returns
$this
|
public
integer
|
#
getAddressOverride( )
Indicates whether to display the shipping address that is passed to this call rather than the one on file with PayPal for this buyer on the PayPal experience pages. Valid value is 0 or 1 . Set to 0 to display the shipping address on file. Set to 1 to display the shipping address supplied to this call; the buyer cannot edit this shipping address.
Indicates whether to display the shipping address that is passed to this call rather than the one on file with PayPal for this buyer on the PayPal experience pages. Valid value is 0 or 1 . Set to 0 to display the shipping address on file. Set to 1 to display the shipping address supplied to this call; the buyer cannot edit this shipping address.
Returns
integer
|
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()