PHP 클래스 PayPal\Api\CarrierAccount

Payment instrument that enables carrier billing.
상속: extends PayPal\Common\PayPalModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getCountryCode ( ) : CountryCode The ISO 3166-1 alpha-2 country code where the phone number is registered.
getExternalCustomerId ( ) : string The ID of the customer, as created by the merchant.
getId ( ) : string The ID of the carrier account of the payer. Use in subsequent REST API calls. For example, to make payments.
getPhoneNumber ( ) : string The phone number of the payer, in E.164 format.
getPhoneSource ( ) : string The method used to obtain the phone number. Value is READ_FROM_DEVICE or USER_PROVIDED.
setCountryCode ( CountryCode $country_code ) The ISO 3166-1 alpha-2 country code where the phone number is registered.
setExternalCustomerId ( string $external_customer_id ) The ID of the customer, as created by the merchant.
setId ( string $id ) The ID of the carrier account of the payer. Use in subsequent REST API calls. For example, to make payments.
setPhoneNumber ( string $phone_number ) The phone number of the payer, in E.164 format.
setPhoneSource ( string $phone_source ) The method used to obtain the phone number. Value is READ_FROM_DEVICE or USER_PROVIDED.

메소드 상세

getCountryCode() 공개 메소드

The ISO 3166-1 alpha-2 country code where the phone number is registered.
public getCountryCode ( ) : CountryCode
리턴 CountryCode

getExternalCustomerId() 공개 메소드

The ID of the customer, as created by the merchant.
public getExternalCustomerId ( ) : string
리턴 string

getId() 공개 메소드

The ID of the carrier account of the payer. Use in subsequent REST API calls. For example, to make payments.
public getId ( ) : string
리턴 string

getPhoneNumber() 공개 메소드

The phone number of the payer, in E.164 format.
public getPhoneNumber ( ) : string
리턴 string

getPhoneSource() 공개 메소드

The method used to obtain the phone number. Value is READ_FROM_DEVICE or USER_PROVIDED.
public getPhoneSource ( ) : string
리턴 string

setCountryCode() 공개 메소드

The ISO 3166-1 alpha-2 country code where the phone number is registered.
public setCountryCode ( CountryCode $country_code )
$country_code CountryCode

setExternalCustomerId() 공개 메소드

The ID of the customer, as created by the merchant.
public setExternalCustomerId ( string $external_customer_id )
$external_customer_id string

setId() 공개 메소드

The ID of the carrier account of the payer. Use in subsequent REST API calls. For example, to make payments.
public setId ( string $id )
$id string

setPhoneNumber() 공개 메소드

The phone number of the payer, in E.164 format.
public setPhoneNumber ( string $phone_number )
$phone_number string

setPhoneSource() 공개 메소드

Valid Values: ["READ_FROM_DEVICE", "USER_PROVIDED"]
public setPhoneSource ( string $phone_source )
$phone_source string