Property | Type | Description | |
---|---|---|---|
$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: 3 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 | |
$OptionDetails | |||
$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 |
Method | Description | |
---|---|---|
toXMLString ( ) |
public string $ButtonCode | ||
return | string |
public string $ButtonCountry | ||
return | string |
public string $ButtonImage | ||
return | string |
public string $ButtonImageURL | ||
return | string |
public string $ButtonLanguage | ||
return | string |
public string $ButtonSubType | ||
return | string |
public string $ButtonType | ||
return | string |
public string $ButtonVar | ||
return | string |
public string $BuyNowText | ||
return | string |
public OptionDetailsType,PayPal\PayPalAPI $OptionDetails | ||
return |
public string $SubscribeText | ||
return | string |
public string $TextBox | ||
return | string |