Property | Type | Description |
---|
Method | Description | |
---|---|---|
Create ( |
Creates a template.
|
|
Delete ( |
Deletes a template, by ID.
|
|
Delete ( |
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.
|
public Create ( |
||
apiContext | APIContext used for the API call. | |
return |
public Delete ( |
||
apiContext | APIContext used for the API call. | |
return | void |
public static Delete ( |
||
apiContext | APIContext used for the API call. | |
templateId | string | The ID of the template to delete. |
return | void |
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. |
return | InvoiceTemplate |
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. |
return | InvoiceTemplates |
public Update ( APIContext apiContext ) : InvoiceTemplate | ||
apiContext | APIContext | APIContext used for the API call. |
return | InvoiceTemplate |