C# Class InvoicingSampleApp.InvoiceHandler

Summary description for InvoiceHandler
Inheritance: IHttpHandler
Mostra file Open project: paypal/invoice-sdk-dotnet

Public Methods

Method Description
ProcessRequest ( HttpContext context ) : void

Private Methods

Method Description
CancelInvoice ( HttpContext context ) : void

API call example for CancelInvoice

CreateAndSendInvoice ( HttpContext context ) : void
CreateInvoice ( HttpContext context ) : void
GetAccessToken ( HttpContext context ) : void
GetInvoiceDetails ( HttpContext context ) : void

API call example for GetInvoiceDetails

GetService ( HttpContext context ) : InvoiceService
MarkInvoiceAsPaid ( HttpContext context ) : void

API call example for MarkInvoiceAsPaid

MarkInvoiceAsRefunded ( HttpContext context ) : void

API call example for MarkInvoiceAsRefunded

MarkInvoiceAsUnpaid ( HttpContext context ) : void

API call example for MarkInvoiceAsUnpaid

RequestPermissions ( HttpContext context ) : void

Invokes the GetAccessToken API that requests third party permissions from another PayPal user for the API caller

SearchInvoices ( HttpContext context ) : void

API call example for SearchInvoices

SendInvoice ( HttpContext context ) : void
SetThirdPartyAuthorization ( HttpContext context ) : PayPal.Authentication.SignatureCredential
UpdateInvoice ( HttpContext context ) : void

API call example for UpdateInvoice

displayResponse ( HttpContext context, string apiName, string>.Dictionary responseValues, string requestPayload, string responsePayload, List errorMessages, string redirectUrl ) : void

Utility method for displaying API response

Method Details

ProcessRequest() public method

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void