docs/ChargebackApi.md in ultracart_api-3.0.76 vs docs/ChargebackApi.md in ultracart_api-3.1.0

- old
+ new

@@ -20,22 +20,15 @@ ### Example ```ruby # load the gem require 'ultracart_api' -# setup authorization -UltracartClient.configure do |config| - # Configure OAuth2 access token for authorization: ultraCartOauth - config.access_token = 'YOUR ACCESS TOKEN' - # Configure API key authorization: ultraCartSimpleApiKey - config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer' -end +# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key +simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00' +api_instance = UltracartClient::ChargebackApi.new_using_api_key(simple_key, false, false) -api_instance = UltracartClient::ChargebackApi.new chargeback_dispute_oid = 56 # Integer | The chargeback_dispute_oid to delete. begin @@ -77,22 +70,15 @@ ### Example ```ruby # load the gem require 'ultracart_api' -# setup authorization -UltracartClient.configure do |config| - # Configure OAuth2 access token for authorization: ultraCartOauth - config.access_token = 'YOUR ACCESS TOKEN' - # Configure API key authorization: ultraCartSimpleApiKey - config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer' -end +# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key +simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00' +api_instance = UltracartClient::ChargebackApi.new_using_api_key(simple_key, false, false) -api_instance = UltracartClient::ChargebackApi.new chargeback_dispute_oid = 56 # Integer | The chargeback dispute oid to retrieve. opts = { _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples @@ -138,22 +124,15 @@ ### Example ```ruby # load the gem require 'ultracart_api' -# setup authorization -UltracartClient.configure do |config| - # Configure OAuth2 access token for authorization: ultraCartOauth - config.access_token = 'YOUR ACCESS TOKEN' - # Configure API key authorization: ultraCartSimpleApiKey - config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer' -end +# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key +simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00' +api_instance = UltracartClient::ChargebackApi.new_using_api_key(simple_key, false, false) -api_instance = UltracartClient::ChargebackApi.new opts = { order_id: 'order_id_example', # String | Order Id case_number: 'case_number_example', # String | Case number status: 'status_example', # String | Status @@ -218,22 +197,15 @@ ### Example ```ruby # load the gem require 'ultracart_api' -# setup authorization -UltracartClient.configure do |config| - # Configure OAuth2 access token for authorization: ultraCartOauth - config.access_token = 'YOUR ACCESS TOKEN' - # Configure API key authorization: ultraCartSimpleApiKey - config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer' -end +# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key +simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00' +api_instance = UltracartClient::ChargebackApi.new_using_api_key(simple_key, false, false) -api_instance = UltracartClient::ChargebackApi.new chargeback = UltracartClient::ChargebackDispute.new # ChargebackDispute | Chargeback to insert opts = { _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples @@ -279,21 +251,14 @@ ### Example ```ruby # load the gem require 'ultracart_api' -# setup authorization -UltracartClient.configure do |config| - # Configure OAuth2 access token for authorization: ultraCartOauth - config.access_token = 'YOUR ACCESS TOKEN' - # Configure API key authorization: ultraCartSimpleApiKey - config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer' -end +# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key +simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00' +api_instance = UltracartClient::ChargebackApi.new_using_api_key(simple_key, false, false) -api_instance = UltracartClient::ChargebackApi.new chargeback = UltracartClient::ChargebackDispute.new # ChargebackDispute | Chargeback to update chargeback_dispute_oid = 56 # Integer | The chargeback_dispute_oid to update.