PHP Class PayPal\EBLBaseComponents\PaymentDetailsItemType

Inheritance: extends PayPal\Core\PPXmlMessage
Show file Open project: paypal/merchant-sdk-php

Public Properties

Property Type Description
$Amount PayPal\CoreComponentTypes\BasicAmountType Cost of item 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 (,).
$Description string Item description. Optional Character length and limitations: 127 single-byte characters
$EbayItemPaymentDetailsItem EbayItemPaymentDetailsItemType Ebay specific details. Optional
$EnhancedItemData PayPal\EnhancedDataTypes\EnhancedItemDataType Enhanced data for each item in the cart. Optional
$ItemCategory string Item category - physical or digital. Optional
$ItemHeight PayPal\CoreComponentTypes\MeasureType Information about the Item height.
$ItemLength PayPal\CoreComponentTypes\MeasureType Information about the Item length.
$ItemURL string URL for the item. Optional Character length and limitations: no limit.
$ItemWeight PayPal\CoreComponentTypes\MeasureType Information about the Item weight.
$ItemWidth PayPal\CoreComponentTypes\MeasureType Information about the Item width.
$Name string Item name. Optional Character length and limitations: 127 single-byte characters
$Number string Item number. Optional Character length and limitations: 127 single-byte characters
$ProductCategory string
$PromoCode string Promotional financing code for item. Part of the Merchant Services Promotion Financing feature.
$Quantity integer Item quantity. Optional Character length and limitations: Any positive integer
$Tax PayPal\CoreComponentTypes\BasicAmountType Item sales tax. Optional Character length and limitations: any valid currency amount; currency code is set the same as for OrderTotal.

Property Details

$Amount public property

Cost of item 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 $Amount
return PayPal\CoreComponentTypes\BasicAmountType

$Description public property

Item description. Optional Character length and limitations: 127 single-byte characters
public string $Description
return string

$EbayItemPaymentDetailsItem public property

Ebay specific details. Optional
public EbayItemPaymentDetailsItemType,PayPal\EBLBaseComponents $EbayItemPaymentDetailsItem
return EbayItemPaymentDetailsItemType

$EnhancedItemData public property

Enhanced data for each item in the cart. Optional
public EnhancedItemDataType,PayPal\EnhancedDataTypes $EnhancedItemData
return PayPal\EnhancedDataTypes\EnhancedItemDataType

$ItemCategory public property

Item category - physical or digital. Optional
public string $ItemCategory
return string

$ItemHeight public property

Information about the Item height.
public MeasureType,PayPal\CoreComponentTypes $ItemHeight
return PayPal\CoreComponentTypes\MeasureType

$ItemLength public property

Information about the Item length.
public MeasureType,PayPal\CoreComponentTypes $ItemLength
return PayPal\CoreComponentTypes\MeasureType

$ItemURL public property

URL for the item. Optional Character length and limitations: no limit.
public string $ItemURL
return string

$ItemWeight public property

Information about the Item weight.
public MeasureType,PayPal\CoreComponentTypes $ItemWeight
return PayPal\CoreComponentTypes\MeasureType

$ItemWidth public property

Information about the Item width.
public MeasureType,PayPal\CoreComponentTypes $ItemWidth
return PayPal\CoreComponentTypes\MeasureType

$Name public property

Item name. Optional Character length and limitations: 127 single-byte characters
public string $Name
return string

$Number public property

Item number. Optional Character length and limitations: 127 single-byte characters
public string $Number
return string

$ProductCategory public property

public string $ProductCategory
return string

$PromoCode public property

Promotional financing code for item. Part of the Merchant Services Promotion Financing feature.
public string $PromoCode
return string

$Quantity public property

Item quantity. Optional Character length and limitations: Any positive integer
public int $Quantity
return integer

$Tax public property

Item sales tax. Optional Character length and limitations: any valid currency amount; currency code is set the same as for OrderTotal.
public BasicAmountType,PayPal\CoreComponentTypes $Tax
return PayPal\CoreComponentTypes\BasicAmountType