C# Class PayPal.Invoice.Model.InvoiceItemType

Item information about a service or product listed in the invoice.
Show file Open project: paypal/invoice-sdk-dotnet Class Usage Examples

Public Methods

Method Description
CreateInstance ( string>.Dictionary map, string prefix, int index ) : InvoiceItemType

Factory method for creating new object instances. For use by the de-serialization classes only.

InvoiceItemType ( ) : System

Default Constructor

InvoiceItemType ( string name, decimal quantity, decimal unitPrice ) : System

Constructor with arguments

ToNVPString ( string prefix ) : string

Method Details

CreateInstance() public static method

Factory method for creating new object instances. For use by the de-serialization classes only.
public static CreateInstance ( string>.Dictionary map, string prefix, int index ) : InvoiceItemType
map string>.Dictionary NVP map as returned by an API call
prefix string NVP prefix for this class in the response
index int For array elements, index of this element in the response
return InvoiceItemType

InvoiceItemType() public method

Default Constructor
public InvoiceItemType ( ) : System
return System

InvoiceItemType() public method

Constructor with arguments
public InvoiceItemType ( string name, decimal quantity, decimal unitPrice ) : System
name string
quantity decimal
unitPrice decimal
return System

ToNVPString() public method

public ToNVPString ( string prefix ) : string
prefix string
return string