PHP 클래스 PayPal\Api\InputFields

Parameters for input fields customization.
상속: extends PayPal\Common\PayPalModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getAddressOverride ( ) : integer 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.
getAllowNote ( ) : boolean Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
getNoShipping ( ) : integer 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.
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.
setAllowNote ( boolean $allow_note ) Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
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.

메소드 상세

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.
public getAddressOverride ( ) : integer
리턴 integer

getAllowNote() 공개 메소드

Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
public getAllowNote ( ) : boolean
리턴 boolean

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.
public getNoShipping ( ) : integer
리턴 integer

setAddressOverride() 공개 메소드

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.
public setAddressOverride ( integer $address_override )
$address_override integer

setAllowNote() 공개 메소드

Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
public setAllowNote ( boolean $allow_note )
$allow_note boolean

setNoShipping() 공개 메소드

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.
public setNoShipping ( integer $no_shipping )
$no_shipping integer