C# Class PayPal.Api.InvoiceTemplate

Invoicing template.

See PayPal Developer documentation for more information.

Inheritance: PayPalResource
Afficher le fichier Open project: paypal/PayPal-NET-SDK Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Create ( APIContext apiContext ) : InvoiceTemplate

Creates a template.

Delete ( APIContext apiContext ) : void

Deletes a template, by ID.

Delete ( APIContext apiContext, string templateId ) : void

Deletes a template, by ID.

Get ( APIContext apiContext, string templateId ) : InvoiceTemplate

Shows details for a template, by ID.

GetAll ( APIContext apiContext, string fields = "all" ) : InvoiceTemplates

Lists all merchant-created templates. The list shows the emails, addresses, and phone numbers from the merchant profile.

Update ( APIContext apiContext ) : InvoiceTemplate

Updates a template, by ID. In the JSON request body, pass a complete `template` object. The update method does not support partial updates.

Method Details

Create() public méthode

Creates a template.
public Create ( APIContext apiContext ) : InvoiceTemplate
apiContext APIContext APIContext used for the API call.
Résultat InvoiceTemplate

Delete() public méthode

Deletes a template, by ID.
public Delete ( APIContext apiContext ) : void
apiContext APIContext APIContext used for the API call.
Résultat void

Delete() public static méthode

Deletes a template, by ID.
public static Delete ( APIContext apiContext, string templateId ) : void
apiContext APIContext APIContext used for the API call.
templateId string The ID of the template to delete.
Résultat void

Get() public static méthode

Shows details for a template, by ID.
public static Get ( APIContext apiContext, string templateId ) : InvoiceTemplate
apiContext APIContext APIContext used for the API call.
templateId string The ID of the template for which to show details.
Résultat InvoiceTemplate

GetAll() public static méthode

Lists all merchant-created templates. The list shows the emails, addresses, and phone numbers from the merchant profile.
public static GetAll ( APIContext apiContext, string fields = "all" ) : InvoiceTemplates
apiContext APIContext APIContext used for the API call.
fields string The fields to return in the response. Value is `all` or `none`. Specify `none` to return only the template name, ID, and default attributes.
Résultat InvoiceTemplates

Update() public méthode

Updates a template, by ID. In the JSON request body, pass a complete `template` object. The update method does not support partial updates.
public Update ( APIContext apiContext ) : InvoiceTemplate
apiContext APIContext APIContext used for the API call.
Résultat InvoiceTemplate