add missing docs

This commit is contained in:
Ibby 2016-10-03 16:56:15 -04:00
parent 83ac4c7bbe
commit fcda04acf1

View File

@ -21,7 +21,6 @@ import { Plugin, Cordova } from './plugin';
* PayPalPayment * PayPalPayment
* PayPAlItem * PayPAlItem
* PayPalPaymentDetails * PayPalPaymentDetails
* PayPalConfiguration
* PayPalConfigurationOptions * PayPalConfigurationOptions
* PayPalShippingAddress * PayPalShippingAddress
*/ */
@ -155,10 +154,25 @@ export interface PayPalPayment {
} }
export interface PayPalItem { export interface PayPalItem {
/**
* Name of the item. 127 characters max
*/
name: string; name: string;
/**
* Number of units. 10 characters max.
*/
quantity: number; quantity: number;
/**
* Unit price for this item 10 characters max.
*/
price: string; price: string;
/**
* ISO standard currency code.
*/
currency: string; currency: string;
/**
* The stock keeping unit for this item. 50 characters max (optional)
*/
sku: string; sku: string;
} }