PayPal\Api\InputFields::setNoShipping PHP Method

setNoShipping() public method

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
    public function setNoShipping($no_shipping)
    {
        $this->no_shipping = $no_shipping;
        return $this;
    }