PHP 클래스 PayPal\PayPalAPI\BMUpdateButtonRequestType

상속: extends PayPal\EBLBaseComponents\AbstractRequestType
파일 보기 프로젝트 열기: paypal/merchant-sdk-php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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