PHP 클래스 PayPal\Api\Presentation

Parameters for style and presentation.
상속: extends PayPal\Common\PayPalModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getBrandName ( ) : string A label that overrides the business name in the PayPal account on the PayPal pages. Character length and limitations: 127 single-byte alphanumeric characters.
getLocaleCode ( ) : string The locale of pages displayed by PayPal payment experience. A valid value is AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, or US. A 5-character code is also valid for languages in specific countries: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, or zh_TW.
getLogoImage ( ) : string A URL to the logo image. A valid media type is .gif, .jpg, or .png. The maximum width of the image is 190 pixels. The maximum height of the image is 60 pixels. PayPal crops images that are larger. PayPal places your logo image at the top of the cart review area. PayPal recommends that you store the image on a secure (HTTPS) server. Otherwise, web browsers display a message that checkout pages contain non-secure items. Character length and limit: 127 single-byte alphanumeric characters.
getNoteToSellerLabel ( ) : string A label to use as the title for the note to seller field. Used only when allow_note is 1.
getReturnUrlLabel ( ) : string A label to use as hypertext for the return to merchant link.
setBrandName ( string $brand_name ) A label that overrides the business name in the PayPal account on the PayPal pages. Character length and limitations: 127 single-byte alphanumeric characters.
setLocaleCode ( string $locale_code ) The locale of pages displayed by PayPal payment experience. A valid value is AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, or US. A 5-character code is also valid for languages in specific countries: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, or zh_TW.
setLogoImage ( string $logo_image ) A URL to the logo image. A valid media type is .gif, .jpg, or .png. The maximum width of the image is 190 pixels. The maximum height of the image is 60 pixels. PayPal crops images that are larger. PayPal places your logo image at the top of the cart review area. PayPal recommends that you store the image on a secure (HTTPS) server. Otherwise, web browsers display a message that checkout pages contain non-secure items. Character length and limit: 127 single-byte alphanumeric characters.
setNoteToSellerLabel ( string $note_to_seller_label ) A label to use as the title for the note to seller field. Used only when allow_note is 1.
setReturnUrlLabel ( string $return_url_label ) A label to use as hypertext for the return to merchant link.

메소드 상세

getBrandName() 공개 메소드

A label that overrides the business name in the PayPal account on the PayPal pages. Character length and limitations: 127 single-byte alphanumeric characters.
public getBrandName ( ) : string
리턴 string

getLocaleCode() 공개 메소드

The locale of pages displayed by PayPal payment experience. A valid value is AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, or US. A 5-character code is also valid for languages in specific countries: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, or zh_TW.
public getLocaleCode ( ) : string
리턴 string

getLogoImage() 공개 메소드

A URL to the logo image. A valid media type is .gif, .jpg, or .png. The maximum width of the image is 190 pixels. The maximum height of the image is 60 pixels. PayPal crops images that are larger. PayPal places your logo image at the top of the cart review area. PayPal recommends that you store the image on a secure (HTTPS) server. Otherwise, web browsers display a message that checkout pages contain non-secure items. Character length and limit: 127 single-byte alphanumeric characters.
public getLogoImage ( ) : string
리턴 string

getNoteToSellerLabel() 공개 메소드

A label to use as the title for the note to seller field. Used only when allow_note is 1.
public getNoteToSellerLabel ( ) : string
리턴 string

getReturnUrlLabel() 공개 메소드

A label to use as hypertext for the return to merchant link.
public getReturnUrlLabel ( ) : string
리턴 string

setBrandName() 공개 메소드

A label that overrides the business name in the PayPal account on the PayPal pages. Character length and limitations: 127 single-byte alphanumeric characters.
public setBrandName ( string $brand_name )
$brand_name string

setLocaleCode() 공개 메소드

The locale of pages displayed by PayPal payment experience. A valid value is AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, or US. A 5-character code is also valid for languages in specific countries: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, or zh_TW.
public setLocaleCode ( string $locale_code )
$locale_code string

setLogoImage() 공개 메소드

A URL to the logo image. A valid media type is .gif, .jpg, or .png. The maximum width of the image is 190 pixels. The maximum height of the image is 60 pixels. PayPal crops images that are larger. PayPal places your logo image at the top of the cart review area. PayPal recommends that you store the image on a secure (HTTPS) server. Otherwise, web browsers display a message that checkout pages contain non-secure items. Character length and limit: 127 single-byte alphanumeric characters.
public setLogoImage ( string $logo_image )
$logo_image string

setNoteToSellerLabel() 공개 메소드

A label to use as the title for the note to seller field. Used only when allow_note is 1.
public setNoteToSellerLabel ( string $note_to_seller_label )
$note_to_seller_label string

setReturnUrlLabel() 공개 메소드

A label to use as hypertext for the return to merchant link.
public setReturnUrlLabel ( string $return_url_label )
$return_url_label string