|
| 1 | +# InvoiceSettingsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**getInvoiceSettings**](InvoiceSettingsApi.md#getInvoiceSettings) | **GET** /invoicing/v2/invoiceSettings | Get Invoice Settings |
| 8 | +[**updateInvoiceSettings**](InvoiceSettingsApi.md#updateInvoiceSettings) | **PUT** /invoicing/v2/invoiceSettings | Update Invoice Settings |
| 9 | + |
| 10 | + |
| 11 | +<a name="getInvoiceSettings"></a> |
| 12 | +# **getInvoiceSettings** |
| 13 | +> InvoicingV2InvoiceSettingsGet200Response getInvoiceSettings() |
| 14 | +
|
| 15 | +Get Invoice Settings |
| 16 | + |
| 17 | +Get the invoice settings for the invoice payment page. |
| 18 | + |
| 19 | +### Example |
| 20 | +```java |
| 21 | +// Import classes: |
| 22 | +//import Invokers.ApiException; |
| 23 | +//import Api.InvoiceSettingsApi; |
| 24 | + |
| 25 | + |
| 26 | +InvoiceSettingsApi apiInstance = new InvoiceSettingsApi(); |
| 27 | +try { |
| 28 | + InvoicingV2InvoiceSettingsGet200Response result = apiInstance.getInvoiceSettings(); |
| 29 | + System.out.println(result); |
| 30 | +} catch (ApiException e) { |
| 31 | + System.err.println("Exception when calling InvoiceSettingsApi#getInvoiceSettings"); |
| 32 | + e.printStackTrace(); |
| 33 | +} |
| 34 | +``` |
| 35 | + |
| 36 | +### Parameters |
| 37 | +This endpoint does not need any parameter. |
| 38 | + |
| 39 | +### Return type |
| 40 | + |
| 41 | +[**InvoicingV2InvoiceSettingsGet200Response**](InvoicingV2InvoiceSettingsGet200Response.md) |
| 42 | + |
| 43 | +### Authorization |
| 44 | + |
| 45 | +No authorization required |
| 46 | + |
| 47 | +### HTTP request headers |
| 48 | + |
| 49 | + - **Content-Type**: application/json;charset=utf-8 |
| 50 | + - **Accept**: application/json;charset=utf-8 |
| 51 | + |
| 52 | +<a name="updateInvoiceSettings"></a> |
| 53 | +# **updateInvoiceSettings** |
| 54 | +> InvoicingV2InvoiceSettingsGet200Response updateInvoiceSettings(invoiceSettingsRequest) |
| 55 | +
|
| 56 | +Update Invoice Settings |
| 57 | + |
| 58 | +Update invoice settings for the invoice payment page. |
| 59 | + |
| 60 | +### Example |
| 61 | +```java |
| 62 | +// Import classes: |
| 63 | +//import Invokers.ApiException; |
| 64 | +//import Api.InvoiceSettingsApi; |
| 65 | + |
| 66 | + |
| 67 | +InvoiceSettingsApi apiInstance = new InvoiceSettingsApi(); |
| 68 | +InvoiceSettingsRequest invoiceSettingsRequest = new InvoiceSettingsRequest(); // InvoiceSettingsRequest | |
| 69 | +try { |
| 70 | + InvoicingV2InvoiceSettingsGet200Response result = apiInstance.updateInvoiceSettings(invoiceSettingsRequest); |
| 71 | + System.out.println(result); |
| 72 | +} catch (ApiException e) { |
| 73 | + System.err.println("Exception when calling InvoiceSettingsApi#updateInvoiceSettings"); |
| 74 | + e.printStackTrace(); |
| 75 | +} |
| 76 | +``` |
| 77 | + |
| 78 | +### Parameters |
| 79 | + |
| 80 | +Name | Type | Description | Notes |
| 81 | +------------- | ------------- | ------------- | ------------- |
| 82 | + **invoiceSettingsRequest** | [**InvoiceSettingsRequest**](InvoiceSettingsRequest.md)| | |
| 83 | + |
| 84 | +### Return type |
| 85 | + |
| 86 | +[**InvoicingV2InvoiceSettingsGet200Response**](InvoicingV2InvoiceSettingsGet200Response.md) |
| 87 | + |
| 88 | +### Authorization |
| 89 | + |
| 90 | +No authorization required |
| 91 | + |
| 92 | +### HTTP request headers |
| 93 | + |
| 94 | + - **Content-Type**: application/json;charset=utf-8 |
| 95 | + - **Accept**: application/json;charset=utf-8 |
| 96 | + |
0 commit comments