PHP Class PayPal\EBLBaseComponents\SetMobileCheckoutRequestDetailsType

Optional
Inheritance: extends PayPal\Core\PPXmlMessage
Show file Open project: paypal/merchant-sdk-php

Public Properties

Property Type Description
$AddressDisplayOptions integer Setting this element overrides the setting you have specified in your Merchant Account Profile. Optional
$BuyerEmail string PayPal uses this value to pre-fill the login portion of the PayPal login page. Optional Character length and limit: 127 single-byte alphanumeric characters
$BuyerPhone PhoneNumberType Optional
$CancelURL string URL to which the customer is returned if he does not approve the use of PayPal to pay you. PayPal recommends that the value of CancelURL be the original page on which the customer chose to pay with PayPal. Optional Character length and limitations: no limit
$Custom string Optional Character length and limitations: 256 single-byte alphanumeric characters
$InvoiceID string Your own unique invoice or tracking number. Optional Character length and limitations: 127 single-byte alphanumeric characters
$ItemAmount PayPal\CoreComponentTypes\BasicAmountType Cost of this item before tax and shipping.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Required
$ItemName string Required Character length and limitations: 127 single-byte alphanumeric characters
$ItemNumber string Reference number of the item that the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters
$ReturnURL string URL to which the customer's browser is returned after choosing to pay with PayPal. PayPal recommends that the value of ReturnURL be the final review page on which the customer confirms the order and payment. Required Character length and limitations: no limit.
$SharePhone integer The value 1 indicates that you require that the customer specifies a contact phone for the transactxion. Default is 0 none required. Optional
$ShipToAddress AddressType Customer's shipping address. Optional
$Shipping PayPal\CoreComponentTypes\BasicAmountType Shipping amount for this item.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional
$Tax PayPal\CoreComponentTypes\BasicAmountType Tax amount for this item.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional

Public Methods

Method Description
__construct ( $ItemAmount = null, $ItemName = null, $ReturnURL = null ) Constructor with arguments

Method Details

__construct() public method

Constructor with arguments
public __construct ( $ItemAmount = null, $ItemName = null, $ReturnURL = null )

Property Details

$AddressDisplayOptions public property

Setting this element overrides the setting you have specified in your Merchant Account Profile. Optional
public int $AddressDisplayOptions
return integer

$BuyerEmail public property

PayPal uses this value to pre-fill the login portion of the PayPal login page. Optional Character length and limit: 127 single-byte alphanumeric characters
public string $BuyerEmail
return string

$BuyerPhone public property

Optional
public PhoneNumberType,PayPal\EBLBaseComponents $BuyerPhone
return PhoneNumberType

$CancelURL public property

URL to which the customer is returned if he does not approve the use of PayPal to pay you. PayPal recommends that the value of CancelURL be the original page on which the customer chose to pay with PayPal. Optional Character length and limitations: no limit
public string $CancelURL
return string

$Custom public property

Optional Character length and limitations: 256 single-byte alphanumeric characters
public string $Custom
return string

$InvoiceID public property

Your own unique invoice or tracking number. Optional Character length and limitations: 127 single-byte alphanumeric characters
public string $InvoiceID
return string

$ItemAmount public property

Cost of this item before tax and shipping.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Required
public BasicAmountType,PayPal\CoreComponentTypes $ItemAmount
return PayPal\CoreComponentTypes\BasicAmountType

$ItemName public property

Required Character length and limitations: 127 single-byte alphanumeric characters
public string $ItemName
return string

$ItemNumber public property

Reference number of the item that the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters
public string $ItemNumber
return string

$ReturnURL public property

URL to which the customer's browser is returned after choosing to pay with PayPal. PayPal recommends that the value of ReturnURL be the final review page on which the customer confirms the order and payment. Required Character length and limitations: no limit.
public string $ReturnURL
return string

$SharePhone public property

The value 1 indicates that you require that the customer specifies a contact phone for the transactxion. Default is 0 none required. Optional
public int $SharePhone
return integer

$ShipToAddress public property

Customer's shipping address. Optional
public AddressType,PayPal\EBLBaseComponents $ShipToAddress
return AddressType

$Shipping public property

Shipping amount for this item.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional
public BasicAmountType,PayPal\CoreComponentTypes $Shipping
return PayPal\CoreComponentTypes\BasicAmountType

$Tax public property

Tax amount for this item.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional
public BasicAmountType,PayPal\CoreComponentTypes $Tax
return PayPal\CoreComponentTypes\BasicAmountType