PHP 클래스 PayPal\PayPalAPI\DoCaptureRequestType

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

공개 프로퍼티들

프로퍼티 타입 설명
$Amount PayPal\CoreComponentTypes\BasicAmountType Amount to authorize. You must set the currencyID attribute to USD. Required Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,)
$AuthorizationID string The authorization identification number of the payment you want to capture. Required Character length and limits: 19 single-byte characters maximum
$CompleteType string Indicates if this capture is the last capture you intend to make. The default is Complete. If CompleteType is Complete, any remaining amount of the original reauthorized transaction is automatically voided. Required Character length and limits: 12 single-byte alphanumeric characters
$Descriptor string dynamic descriptor Dynamic descriptor is used for merchant to provide detail of a transaction appears on statement Optional Character length and limits: <18 characters alphanumeric characters
$EnhancedData PayPal\EBLBaseComponents\EnhancedDataType Not Required
$InvoiceID string Your invoice number or other identification number. The InvoiceID value is recorded only if the authorization you are capturing is an order authorization, not a basic authorization. Optional Character length and limits: 127 single-byte alphanumeric characters
$MerchantData PayPal\EBLBaseComponents\MerchantDataType This holds key-value pair which merchants wants to pass it to the open wallet-PLCC processorOptional
$MerchantStoreDetails PayPal\EBLBaseComponents\MerchantStoreDetailsType To pass the Merchant store informationOptional
$MsgSubID string Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum.
$Note string Optional Character length and limits: 255 single-byte characters

공개 메소드들

메소드 설명
__construct ( $AuthorizationID = null, $Amount = null, $CompleteType = null ) Constructor with arguments

메소드 상세

__construct() 공개 메소드

Constructor with arguments
public __construct ( $AuthorizationID = null, $Amount = null, $CompleteType = null )

프로퍼티 상세

$Amount 공개적으로 프로퍼티

Amount to authorize. You must set the currencyID attribute to USD. Required Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,)
public BasicAmountType,PayPal\CoreComponentTypes $Amount
리턴 PayPal\CoreComponentTypes\BasicAmountType

$AuthorizationID 공개적으로 프로퍼티

The authorization identification number of the payment you want to capture. Required Character length and limits: 19 single-byte characters maximum
public string $AuthorizationID
리턴 string

$CompleteType 공개적으로 프로퍼티

Indicates if this capture is the last capture you intend to make. The default is Complete. If CompleteType is Complete, any remaining amount of the original reauthorized transaction is automatically voided. Required Character length and limits: 12 single-byte alphanumeric characters
public string $CompleteType
리턴 string

$Descriptor 공개적으로 프로퍼티

dynamic descriptor Dynamic descriptor is used for merchant to provide detail of a transaction appears on statement Optional Character length and limits: <18 characters alphanumeric characters
public string $Descriptor
리턴 string

$EnhancedData 공개적으로 프로퍼티

Not Required
public EnhancedDataType,PayPal\EBLBaseComponents $EnhancedData
리턴 PayPal\EBLBaseComponents\EnhancedDataType

$InvoiceID 공개적으로 프로퍼티

Your invoice number or other identification number. The InvoiceID value is recorded only if the authorization you are capturing is an order authorization, not a basic authorization. Optional Character length and limits: 127 single-byte alphanumeric characters
public string $InvoiceID
리턴 string

$MerchantData 공개적으로 프로퍼티

This holds key-value pair which merchants wants to pass it to the open wallet-PLCC processorOptional
public MerchantDataType,PayPal\EBLBaseComponents $MerchantData
리턴 PayPal\EBLBaseComponents\MerchantDataType

$MerchantStoreDetails 공개적으로 프로퍼티

To pass the Merchant store informationOptional
public MerchantStoreDetailsType,PayPal\EBLBaseComponents $MerchantStoreDetails
리턴 PayPal\EBLBaseComponents\MerchantStoreDetailsType

$MsgSubID 공개적으로 프로퍼티

Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum.
public string $MsgSubID
리턴 string

$Note 공개적으로 프로퍼티

Optional Character length and limits: 255 single-byte characters
public string $Note
리턴 string