PHP Класс PayPal\PayPalAPI\BMUpdateButtonRequestType

Наследование: extends PayPal\EBLBaseComponents\AbstractRequestType
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$ButtonCode string button code. optional Must be one of the following: hosted, encrypted or cleartext
$ButtonCountry string Button Country. Optional Must be valid ISO country code
$ButtonImage string Button image to use. Optional Must be one of: REG, SML, or CC
$ButtonImageURL string Button URL for custom button image. Optional Character length and limitations: 127 single-byte alphanumeric characters
$ButtonLanguage string Button language code. Optional Character length and limitations: 2 single-byte alphanumeric characters
$ButtonSubType string Button sub type. optional for button types buynow and cart only Must Be either PRODUCTS or SERVICES
$ButtonType string Type of Button to create. Required Must be one of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
$ButtonVar string Button Variable information At least one required recurring Character length and limitations: 63 single-byte alphanumeric characters
$BuyNowText string Text to use on Buy Now Button. Optional Must be either BUYNOW or PAYNOW
$HostedButtonID string Hosted Button id of the button to update. Required Character length and limitations: 10 single-byte numeric characters
$OptionDetails OptionDetailsType
$SubscribeText string Text to use on Subscribe button. Optional Must be either BUYNOW or SUBSCRIBE
$TextBox string Details of each option for the button. Optional

Открытые методы

Метод Описание
__construct ( $HostedButtonID = null ) Constructor with arguments
toXMLString ( )

Описание методов

__construct() публичный Метод

Constructor with arguments
public __construct ( $HostedButtonID = null )

toXMLString() публичный Метод

public toXMLString ( )

Описание свойств

$ButtonCode публичное свойство

button code. optional Must be one of the following: hosted, encrypted or cleartext
public string $ButtonCode
Результат string

$ButtonCountry публичное свойство

Button Country. Optional Must be valid ISO country code
public string $ButtonCountry
Результат string

$ButtonImage публичное свойство

Button image to use. Optional Must be one of: REG, SML, or CC
public string $ButtonImage
Результат string

$ButtonImageURL публичное свойство

Button URL for custom button image. Optional Character length and limitations: 127 single-byte alphanumeric characters
public string $ButtonImageURL
Результат string

$ButtonLanguage публичное свойство

Button language code. Optional Character length and limitations: 2 single-byte alphanumeric characters
public string $ButtonLanguage
Результат string

$ButtonSubType публичное свойство

Button sub type. optional for button types buynow and cart only Must Be either PRODUCTS or SERVICES
public string $ButtonSubType
Результат string

$ButtonType публичное свойство

Type of Button to create. Required Must be one of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
public string $ButtonType
Результат string

$ButtonVar публичное свойство

Button Variable information At least one required recurring Character length and limitations: 63 single-byte alphanumeric characters
public string $ButtonVar
Результат string

$BuyNowText публичное свойство

Text to use on Buy Now Button. Optional Must be either BUYNOW or PAYNOW
public string $BuyNowText
Результат string

$HostedButtonID публичное свойство

Hosted Button id of the button to update. Required Character length and limitations: 10 single-byte numeric characters
public string $HostedButtonID
Результат string

$OptionDetails публичное свойство

public OptionDetailsType,PayPal\PayPalAPI $OptionDetails
Результат OptionDetailsType

$SubscribeText публичное свойство

Text to use on Subscribe button. Optional Must be either BUYNOW or SUBSCRIBE
public string $SubscribeText
Результат string

$TextBox публичное свойство

Details of each option for the button. Optional
public string $TextBox
Результат string