PHP Класс PayPal\PayPalAPI\DoAuthorizationRequestType

Наследование: extends PayPal\EBLBaseComponents\AbstractRequestType
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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