PHP 클래스 PayPal\PayPalAPI\DoAuthorizationRequestType

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

공개 프로퍼티들

프로퍼티 타입 설명
$Amount PayPal\CoreComponentTypes\BasicAmountType Amount to authorize. 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 (,).
$Custom string A free-form field for your own use. Optional Character length and limitations: 256 single-byte alphanumeric characters
$HandlingTotal PayPal\CoreComponentTypes\BasicAmountType Total handling costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 (,).
$IPAddress string IP Address of the buyer
$InsuranceTotal PayPal\CoreComponentTypes\BasicAmountType Total shipping insurance costs for this order. Optional
$ItemTotal PayPal\CoreComponentTypes\BasicAmountType Sum of cost of all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 (,).
$MsgSubID string Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum.
$OrderDescription string Description of items the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters
$PaymentDetailsItem PayPal\EBLBaseComponents\PaymentDetailsItemType Information about the individual purchased items
$ShipToAddress PayPal\EBLBaseComponents\AddressType Address the order will be shipped to. Optional
$ShippingDiscount PayPal\CoreComponentTypes\BasicAmountType Shipping discount for this order, specified as a negative number. Optional
$ShippingTotal PayPal\CoreComponentTypes\BasicAmountType Total shipping costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 (,).
$TaxTotal PayPal\CoreComponentTypes\BasicAmountType Sum of tax for all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 (,).
$TransactionEntity string Type of transaction to authorize. The only allowable value is Order, which means that the transaction represents a customer order that can be fulfilled over 29 days. Optional
$TransactionID string The value of the order’s transaction identification number returned by a PayPal product. Required Character length and limits: 19 single-byte characters maximum

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

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

프로퍼티 상세

$Amount 공개적으로 프로퍼티

Amount to authorize. 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

$Custom 공개적으로 프로퍼티

A free-form field for your own use. Optional Character length and limitations: 256 single-byte alphanumeric characters
public string $Custom
리턴 string

$HandlingTotal 공개적으로 프로퍼티

Total handling costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 $HandlingTotal
리턴 PayPal\CoreComponentTypes\BasicAmountType

$IPAddress 공개적으로 프로퍼티

IP Address of the buyer
public string $IPAddress
리턴 string

$InsuranceTotal 공개적으로 프로퍼티

Total shipping insurance costs for this order. Optional
public BasicAmountType,PayPal\CoreComponentTypes $InsuranceTotal
리턴 PayPal\CoreComponentTypes\BasicAmountType

$ItemTotal 공개적으로 프로퍼티

Sum of cost of all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 $ItemTotal
리턴 PayPal\CoreComponentTypes\BasicAmountType

$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

$OrderDescription 공개적으로 프로퍼티

Description of items the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters
public string $OrderDescription
리턴 string

$PaymentDetailsItem 공개적으로 프로퍼티

Information about the individual purchased items
public PaymentDetailsItemType,PayPal\EBLBaseComponents $PaymentDetailsItem
리턴 PayPal\EBLBaseComponents\PaymentDetailsItemType

$ShipToAddress 공개적으로 프로퍼티

Address the order will be shipped to. Optional
public AddressType,PayPal\EBLBaseComponents $ShipToAddress
리턴 PayPal\EBLBaseComponents\AddressType

$ShippingDiscount 공개적으로 프로퍼티

Shipping discount for this order, specified as a negative number. Optional
public BasicAmountType,PayPal\CoreComponentTypes $ShippingDiscount
리턴 PayPal\CoreComponentTypes\BasicAmountType

$ShippingTotal 공개적으로 프로퍼티

Total shipping costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 $ShippingTotal
리턴 PayPal\CoreComponentTypes\BasicAmountType

$TaxTotal 공개적으로 프로퍼티

Sum of tax for all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional 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 $TaxTotal
리턴 PayPal\CoreComponentTypes\BasicAmountType

$TransactionEntity 공개적으로 프로퍼티

Type of transaction to authorize. The only allowable value is Order, which means that the transaction represents a customer order that can be fulfilled over 29 days. Optional
public string $TransactionEntity
리턴 string

$TransactionID 공개적으로 프로퍼티

The value of the order’s transaction identification number returned by a PayPal product. Required Character length and limits: 19 single-byte characters maximum
public string $TransactionID
리턴 string