C# Class PayPal.Invoice.InvoiceService

Inheritance: PayPal.BasePayPalService
显示文件 Open project: paypal/invoice-sdk-dotnet Class Usage Examples

Public Methods

Method Description
CancelInvoice ( CancelInvoiceRequest cancelInvoiceRequest ) : CancelInvoiceResponse

CancelInvoice ( CancelInvoiceRequest cancelInvoiceRequest, PayPal.Authentication.ICredential credential ) : CancelInvoiceResponse

CancelInvoice ( CancelInvoiceRequest cancelInvoiceRequest, string apiUserName ) : CancelInvoiceResponse

CreateAndSendInvoice ( CreateAndSendInvoiceRequest createAndSendInvoiceRequest ) : CreateAndSendInvoiceResponse

CreateAndSendInvoice ( CreateAndSendInvoiceRequest createAndSendInvoiceRequest, PayPal.Authentication.ICredential credential ) : CreateAndSendInvoiceResponse

CreateAndSendInvoice ( CreateAndSendInvoiceRequest createAndSendInvoiceRequest, string apiUserName ) : CreateAndSendInvoiceResponse

CreateInvoice ( CreateInvoiceRequest createInvoiceRequest ) : CreateInvoiceResponse

CreateInvoice ( CreateInvoiceRequest createInvoiceRequest, PayPal.Authentication.ICredential credential ) : CreateInvoiceResponse

CreateInvoice ( CreateInvoiceRequest createInvoiceRequest, string apiUserName ) : CreateInvoiceResponse

DeleteInvoice ( DeleteInvoiceRequest deleteInvoiceRequest ) : DeleteInvoiceResponse

DeleteInvoice ( DeleteInvoiceRequest deleteInvoiceRequest, PayPal.Authentication.ICredential credential ) : DeleteInvoiceResponse

DeleteInvoice ( DeleteInvoiceRequest deleteInvoiceRequest, string apiUserName ) : DeleteInvoiceResponse

GenerateInvoiceNumber ( GenerateInvoiceNumberRequest generateInvoiceNumberRequest ) : GenerateInvoiceNumberResponse

GenerateInvoiceNumber ( GenerateInvoiceNumberRequest generateInvoiceNumberRequest, PayPal.Authentication.ICredential credential ) : GenerateInvoiceNumberResponse

GenerateInvoiceNumber ( GenerateInvoiceNumberRequest generateInvoiceNumberRequest, string apiUserName ) : GenerateInvoiceNumberResponse

GetInvoiceDetails ( GetInvoiceDetailsRequest getInvoiceDetailsRequest ) : GetInvoiceDetailsResponse

GetInvoiceDetails ( GetInvoiceDetailsRequest getInvoiceDetailsRequest, PayPal.Authentication.ICredential credential ) : GetInvoiceDetailsResponse

GetInvoiceDetails ( GetInvoiceDetailsRequest getInvoiceDetailsRequest, string apiUserName ) : GetInvoiceDetailsResponse

InvoiceService ( ) : System.Collections.Generic

Default constructor for loading configuration from *.Config file

InvoiceService ( string>.Dictionary config ) : System.Collections.Generic

constructor for passing in a dynamic configuration object

MarkInvoiceAsPaid ( MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest ) : MarkInvoiceAsPaidResponse

MarkInvoiceAsPaid ( MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, PayPal.Authentication.ICredential credential ) : MarkInvoiceAsPaidResponse

MarkInvoiceAsPaid ( MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, string apiUserName ) : MarkInvoiceAsPaidResponse

MarkInvoiceAsRefunded ( MarkInvoiceAsRefundedRequest markInvoiceAsRefundedRequest ) : MarkInvoiceAsRefundedResponse

MarkInvoiceAsRefunded ( MarkInvoiceAsRefundedRequest markInvoiceAsRefundedRequest, PayPal.Authentication.ICredential credential ) : MarkInvoiceAsRefundedResponse

MarkInvoiceAsRefunded ( MarkInvoiceAsRefundedRequest markInvoiceAsRefundedRequest, string apiUserName ) : MarkInvoiceAsRefundedResponse

MarkInvoiceAsUnpaid ( MarkInvoiceAsUnpaidRequest markInvoiceAsUnpaidRequest ) : MarkInvoiceAsUnpaidResponse

MarkInvoiceAsUnpaid ( MarkInvoiceAsUnpaidRequest markInvoiceAsUnpaidRequest, PayPal.Authentication.ICredential credential ) : MarkInvoiceAsUnpaidResponse

MarkInvoiceAsUnpaid ( MarkInvoiceAsUnpaidRequest markInvoiceAsUnpaidRequest, string apiUserName ) : MarkInvoiceAsUnpaidResponse

RemindInvoice ( RemindInvoiceRequest remindInvoiceRequest ) : RemindInvoiceResponse

RemindInvoice ( RemindInvoiceRequest remindInvoiceRequest, PayPal.Authentication.ICredential credential ) : RemindInvoiceResponse

RemindInvoice ( RemindInvoiceRequest remindInvoiceRequest, string apiUserName ) : RemindInvoiceResponse

SearchInvoices ( SearchInvoicesRequest searchInvoicesRequest ) : SearchInvoicesResponse

SearchInvoices ( SearchInvoicesRequest searchInvoicesRequest, PayPal.Authentication.ICredential credential ) : SearchInvoicesResponse

SearchInvoices ( SearchInvoicesRequest searchInvoicesRequest, string apiUserName ) : SearchInvoicesResponse

SendInvoice ( SendInvoiceRequest sendInvoiceRequest ) : SendInvoiceResponse

SendInvoice ( SendInvoiceRequest sendInvoiceRequest, PayPal.Authentication.ICredential credential ) : SendInvoiceResponse

SendInvoice ( SendInvoiceRequest sendInvoiceRequest, string apiUserName ) : SendInvoiceResponse

UpdateInvoice ( UpdateInvoiceRequest updateInvoiceRequest ) : UpdateInvoiceResponse

UpdateInvoice ( UpdateInvoiceRequest updateInvoiceRequest, PayPal.Authentication.ICredential credential ) : UpdateInvoiceResponse

UpdateInvoice ( UpdateInvoiceRequest updateInvoiceRequest, string apiUserName ) : UpdateInvoiceResponse

Method Details

CancelInvoice() public method

public CancelInvoice ( CancelInvoiceRequest cancelInvoiceRequest ) : CancelInvoiceResponse
cancelInvoiceRequest PayPal.Invoice.Model.CancelInvoiceRequest
return PayPal.Invoice.Model.CancelInvoiceResponse

CancelInvoice() public method

public CancelInvoice ( CancelInvoiceRequest cancelInvoiceRequest, PayPal.Authentication.ICredential credential ) : CancelInvoiceResponse
cancelInvoiceRequest PayPal.Invoice.Model.CancelInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.CancelInvoiceResponse

CancelInvoice() public method

public CancelInvoice ( CancelInvoiceRequest cancelInvoiceRequest, string apiUserName ) : CancelInvoiceResponse
cancelInvoiceRequest PayPal.Invoice.Model.CancelInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.CancelInvoiceResponse

CreateAndSendInvoice() public method

public CreateAndSendInvoice ( CreateAndSendInvoiceRequest createAndSendInvoiceRequest ) : CreateAndSendInvoiceResponse
createAndSendInvoiceRequest PayPal.Invoice.Model.CreateAndSendInvoiceRequest
return PayPal.Invoice.Model.CreateAndSendInvoiceResponse

CreateAndSendInvoice() public method

public CreateAndSendInvoice ( CreateAndSendInvoiceRequest createAndSendInvoiceRequest, PayPal.Authentication.ICredential credential ) : CreateAndSendInvoiceResponse
createAndSendInvoiceRequest PayPal.Invoice.Model.CreateAndSendInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.CreateAndSendInvoiceResponse

CreateAndSendInvoice() public method

public CreateAndSendInvoice ( CreateAndSendInvoiceRequest createAndSendInvoiceRequest, string apiUserName ) : CreateAndSendInvoiceResponse
createAndSendInvoiceRequest PayPal.Invoice.Model.CreateAndSendInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.CreateAndSendInvoiceResponse

CreateInvoice() public method

public CreateInvoice ( CreateInvoiceRequest createInvoiceRequest ) : CreateInvoiceResponse
createInvoiceRequest PayPal.Invoice.Model.CreateInvoiceRequest
return PayPal.Invoice.Model.CreateInvoiceResponse

CreateInvoice() public method

public CreateInvoice ( CreateInvoiceRequest createInvoiceRequest, PayPal.Authentication.ICredential credential ) : CreateInvoiceResponse
createInvoiceRequest PayPal.Invoice.Model.CreateInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.CreateInvoiceResponse

CreateInvoice() public method

public CreateInvoice ( CreateInvoiceRequest createInvoiceRequest, string apiUserName ) : CreateInvoiceResponse
createInvoiceRequest PayPal.Invoice.Model.CreateInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.CreateInvoiceResponse

DeleteInvoice() public method

public DeleteInvoice ( DeleteInvoiceRequest deleteInvoiceRequest ) : DeleteInvoiceResponse
deleteInvoiceRequest PayPal.Invoice.Model.DeleteInvoiceRequest
return PayPal.Invoice.Model.DeleteInvoiceResponse

DeleteInvoice() public method

public DeleteInvoice ( DeleteInvoiceRequest deleteInvoiceRequest, PayPal.Authentication.ICredential credential ) : DeleteInvoiceResponse
deleteInvoiceRequest PayPal.Invoice.Model.DeleteInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.DeleteInvoiceResponse

DeleteInvoice() public method

public DeleteInvoice ( DeleteInvoiceRequest deleteInvoiceRequest, string apiUserName ) : DeleteInvoiceResponse
deleteInvoiceRequest PayPal.Invoice.Model.DeleteInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.DeleteInvoiceResponse

GenerateInvoiceNumber() public method

public GenerateInvoiceNumber ( GenerateInvoiceNumberRequest generateInvoiceNumberRequest ) : GenerateInvoiceNumberResponse
generateInvoiceNumberRequest PayPal.Invoice.Model.GenerateInvoiceNumberRequest
return PayPal.Invoice.Model.GenerateInvoiceNumberResponse

GenerateInvoiceNumber() public method

public GenerateInvoiceNumber ( GenerateInvoiceNumberRequest generateInvoiceNumberRequest, PayPal.Authentication.ICredential credential ) : GenerateInvoiceNumberResponse
generateInvoiceNumberRequest PayPal.Invoice.Model.GenerateInvoiceNumberRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.GenerateInvoiceNumberResponse

GenerateInvoiceNumber() public method

public GenerateInvoiceNumber ( GenerateInvoiceNumberRequest generateInvoiceNumberRequest, string apiUserName ) : GenerateInvoiceNumberResponse
generateInvoiceNumberRequest PayPal.Invoice.Model.GenerateInvoiceNumberRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.GenerateInvoiceNumberResponse

GetInvoiceDetails() public method

public GetInvoiceDetails ( GetInvoiceDetailsRequest getInvoiceDetailsRequest ) : GetInvoiceDetailsResponse
getInvoiceDetailsRequest PayPal.Invoice.Model.GetInvoiceDetailsRequest
return PayPal.Invoice.Model.GetInvoiceDetailsResponse

GetInvoiceDetails() public method

public GetInvoiceDetails ( GetInvoiceDetailsRequest getInvoiceDetailsRequest, PayPal.Authentication.ICredential credential ) : GetInvoiceDetailsResponse
getInvoiceDetailsRequest PayPal.Invoice.Model.GetInvoiceDetailsRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.GetInvoiceDetailsResponse

GetInvoiceDetails() public method

public GetInvoiceDetails ( GetInvoiceDetailsRequest getInvoiceDetailsRequest, string apiUserName ) : GetInvoiceDetailsResponse
getInvoiceDetailsRequest PayPal.Invoice.Model.GetInvoiceDetailsRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.GetInvoiceDetailsResponse

InvoiceService() public method

Default constructor for loading configuration from *.Config file
public InvoiceService ( ) : System.Collections.Generic
return System.Collections.Generic

InvoiceService() public method

constructor for passing in a dynamic configuration object
public InvoiceService ( string>.Dictionary config ) : System.Collections.Generic
config string>.Dictionary
return System.Collections.Generic

MarkInvoiceAsPaid() public method

public MarkInvoiceAsPaid ( MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest ) : MarkInvoiceAsPaidResponse
markInvoiceAsPaidRequest PayPal.Invoice.Model.MarkInvoiceAsPaidRequest
return PayPal.Invoice.Model.MarkInvoiceAsPaidResponse

MarkInvoiceAsPaid() public method

public MarkInvoiceAsPaid ( MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, PayPal.Authentication.ICredential credential ) : MarkInvoiceAsPaidResponse
markInvoiceAsPaidRequest PayPal.Invoice.Model.MarkInvoiceAsPaidRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.MarkInvoiceAsPaidResponse

MarkInvoiceAsPaid() public method

public MarkInvoiceAsPaid ( MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, string apiUserName ) : MarkInvoiceAsPaidResponse
markInvoiceAsPaidRequest PayPal.Invoice.Model.MarkInvoiceAsPaidRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.MarkInvoiceAsPaidResponse

MarkInvoiceAsRefunded() public method

public MarkInvoiceAsRefunded ( MarkInvoiceAsRefundedRequest markInvoiceAsRefundedRequest ) : MarkInvoiceAsRefundedResponse
markInvoiceAsRefundedRequest PayPal.Invoice.Model.MarkInvoiceAsRefundedRequest
return PayPal.Invoice.Model.MarkInvoiceAsRefundedResponse

MarkInvoiceAsRefunded() public method

public MarkInvoiceAsRefunded ( MarkInvoiceAsRefundedRequest markInvoiceAsRefundedRequest, PayPal.Authentication.ICredential credential ) : MarkInvoiceAsRefundedResponse
markInvoiceAsRefundedRequest PayPal.Invoice.Model.MarkInvoiceAsRefundedRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.MarkInvoiceAsRefundedResponse

MarkInvoiceAsRefunded() public method

public MarkInvoiceAsRefunded ( MarkInvoiceAsRefundedRequest markInvoiceAsRefundedRequest, string apiUserName ) : MarkInvoiceAsRefundedResponse
markInvoiceAsRefundedRequest PayPal.Invoice.Model.MarkInvoiceAsRefundedRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.MarkInvoiceAsRefundedResponse

MarkInvoiceAsUnpaid() public method

public MarkInvoiceAsUnpaid ( MarkInvoiceAsUnpaidRequest markInvoiceAsUnpaidRequest ) : MarkInvoiceAsUnpaidResponse
markInvoiceAsUnpaidRequest PayPal.Invoice.Model.MarkInvoiceAsUnpaidRequest
return PayPal.Invoice.Model.MarkInvoiceAsUnpaidResponse

MarkInvoiceAsUnpaid() public method

public MarkInvoiceAsUnpaid ( MarkInvoiceAsUnpaidRequest markInvoiceAsUnpaidRequest, PayPal.Authentication.ICredential credential ) : MarkInvoiceAsUnpaidResponse
markInvoiceAsUnpaidRequest PayPal.Invoice.Model.MarkInvoiceAsUnpaidRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.MarkInvoiceAsUnpaidResponse

MarkInvoiceAsUnpaid() public method

public MarkInvoiceAsUnpaid ( MarkInvoiceAsUnpaidRequest markInvoiceAsUnpaidRequest, string apiUserName ) : MarkInvoiceAsUnpaidResponse
markInvoiceAsUnpaidRequest PayPal.Invoice.Model.MarkInvoiceAsUnpaidRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.MarkInvoiceAsUnpaidResponse

RemindInvoice() public method

public RemindInvoice ( RemindInvoiceRequest remindInvoiceRequest ) : RemindInvoiceResponse
remindInvoiceRequest PayPal.Invoice.Model.RemindInvoiceRequest
return PayPal.Invoice.Model.RemindInvoiceResponse

RemindInvoice() public method

public RemindInvoice ( RemindInvoiceRequest remindInvoiceRequest, PayPal.Authentication.ICredential credential ) : RemindInvoiceResponse
remindInvoiceRequest PayPal.Invoice.Model.RemindInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.RemindInvoiceResponse

RemindInvoice() public method

public RemindInvoice ( RemindInvoiceRequest remindInvoiceRequest, string apiUserName ) : RemindInvoiceResponse
remindInvoiceRequest PayPal.Invoice.Model.RemindInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.RemindInvoiceResponse

SearchInvoices() public method

public SearchInvoices ( SearchInvoicesRequest searchInvoicesRequest ) : SearchInvoicesResponse
searchInvoicesRequest PayPal.Invoice.Model.SearchInvoicesRequest
return PayPal.Invoice.Model.SearchInvoicesResponse

SearchInvoices() public method

public SearchInvoices ( SearchInvoicesRequest searchInvoicesRequest, PayPal.Authentication.ICredential credential ) : SearchInvoicesResponse
searchInvoicesRequest PayPal.Invoice.Model.SearchInvoicesRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.SearchInvoicesResponse

SearchInvoices() public method

public SearchInvoices ( SearchInvoicesRequest searchInvoicesRequest, string apiUserName ) : SearchInvoicesResponse
searchInvoicesRequest PayPal.Invoice.Model.SearchInvoicesRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.SearchInvoicesResponse

SendInvoice() public method

public SendInvoice ( SendInvoiceRequest sendInvoiceRequest ) : SendInvoiceResponse
sendInvoiceRequest PayPal.Invoice.Model.SendInvoiceRequest
return PayPal.Invoice.Model.SendInvoiceResponse

SendInvoice() public method

public SendInvoice ( SendInvoiceRequest sendInvoiceRequest, PayPal.Authentication.ICredential credential ) : SendInvoiceResponse
sendInvoiceRequest PayPal.Invoice.Model.SendInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.SendInvoiceResponse

SendInvoice() public method

public SendInvoice ( SendInvoiceRequest sendInvoiceRequest, string apiUserName ) : SendInvoiceResponse
sendInvoiceRequest PayPal.Invoice.Model.SendInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.SendInvoiceResponse

UpdateInvoice() public method

public UpdateInvoice ( UpdateInvoiceRequest updateInvoiceRequest ) : UpdateInvoiceResponse
updateInvoiceRequest PayPal.Invoice.Model.UpdateInvoiceRequest
return PayPal.Invoice.Model.UpdateInvoiceResponse

UpdateInvoice() public method

public UpdateInvoice ( UpdateInvoiceRequest updateInvoiceRequest, PayPal.Authentication.ICredential credential ) : UpdateInvoiceResponse
updateInvoiceRequest PayPal.Invoice.Model.UpdateInvoiceRequest
credential PayPal.Authentication.ICredential An explicit ICredential object that you want to authenticate this call against
return PayPal.Invoice.Model.UpdateInvoiceResponse

UpdateInvoice() public method

public UpdateInvoice ( UpdateInvoiceRequest updateInvoiceRequest, string apiUserName ) : UpdateInvoiceResponse
updateInvoiceRequest PayPal.Invoice.Model.UpdateInvoiceRequest
apiUserName string API Username that you want to authenticate this call against. This username and the corresponding 3-token/certificate credentials must be available in Web.Config/App.Config
return PayPal.Invoice.Model.UpdateInvoiceResponse