|
| 1 | +# CyberSource::InvoiceSettingsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**get_invoice_settings**](InvoiceSettingsApi.md#get_invoice_settings) | **GET** /invoicing/v2/invoiceSettings | Get Invoice Settings |
| 8 | +[**update_invoice_settings**](InvoiceSettingsApi.md#update_invoice_settings) | **PUT** /invoicing/v2/invoiceSettings | Update Invoice Settings |
| 9 | + |
| 10 | + |
| 11 | +# **get_invoice_settings** |
| 12 | +> InvoicingV2InvoiceSettingsGet200Response get_invoice_settings |
| 13 | +
|
| 14 | +Get Invoice Settings |
| 15 | + |
| 16 | +Get the invoice settings for the invoice payment page. |
| 17 | + |
| 18 | +### Example |
| 19 | +```ruby |
| 20 | +# load the gem |
| 21 | +require 'cybersource_rest_client' |
| 22 | + |
| 23 | +api_instance = CyberSource::InvoiceSettingsApi.new |
| 24 | + |
| 25 | +begin |
| 26 | + #Get Invoice Settings |
| 27 | + result = api_instance.get_invoice_settings |
| 28 | + p result |
| 29 | +rescue CyberSource::ApiError => e |
| 30 | + puts "Exception when calling InvoiceSettingsApi->get_invoice_settings: #{e}" |
| 31 | +end |
| 32 | +``` |
| 33 | + |
| 34 | +### Parameters |
| 35 | +This endpoint does not need any parameter. |
| 36 | + |
| 37 | +### Return type |
| 38 | + |
| 39 | +[**InvoicingV2InvoiceSettingsGet200Response**](InvoicingV2InvoiceSettingsGet200Response.md) |
| 40 | + |
| 41 | +### Authorization |
| 42 | + |
| 43 | +No authorization required |
| 44 | + |
| 45 | +### HTTP request headers |
| 46 | + |
| 47 | + - **Content-Type**: application/json;charset=utf-8 |
| 48 | + - **Accept**: application/json;charset=utf-8 |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +# **update_invoice_settings** |
| 53 | +> InvoicingV2InvoiceSettingsGet200Response update_invoice_settings(invoice_settings_request) |
| 54 | +
|
| 55 | +Update Invoice Settings |
| 56 | + |
| 57 | +Update invoice settings for the invoice payment page. |
| 58 | + |
| 59 | +### Example |
| 60 | +```ruby |
| 61 | +# load the gem |
| 62 | +require 'cybersource_rest_client' |
| 63 | + |
| 64 | +api_instance = CyberSource::InvoiceSettingsApi.new |
| 65 | + |
| 66 | +invoice_settings_request = CyberSource::InvoiceSettingsRequest.new # InvoiceSettingsRequest | |
| 67 | + |
| 68 | + |
| 69 | +begin |
| 70 | + #Update Invoice Settings |
| 71 | + result = api_instance.update_invoice_settings(invoice_settings_request) |
| 72 | + p result |
| 73 | +rescue CyberSource::ApiError => e |
| 74 | + puts "Exception when calling InvoiceSettingsApi->update_invoice_settings: #{e}" |
| 75 | +end |
| 76 | +``` |
| 77 | + |
| 78 | +### Parameters |
| 79 | + |
| 80 | +Name | Type | Description | Notes |
| 81 | +------------- | ------------- | ------------- | ------------- |
| 82 | + **invoice_settings_request** | [**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 | + |
| 97 | + |
| 98 | + |
0 commit comments