All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| CreateEndUserFeeConfig | POST /api/v1.0/{appId}/stores/{storeId}/end-user-fees | |
| GetEndUserFeesForStore | GET /api/v1.0/{appId}/stores/{storeId}/end-user-fees | |
| SetV2FeeCalculation | POST /api/v1.0/{appId}/stores/{storeId}/end-user-fees/v2-fee-calculation |
Object CreateEndUserFeeConfig (CreateEndUserFeeConfig input, string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class CreateEndUserFeeConfigExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new EndUserFeesApi();
var input = new CreateEndUserFeeConfig(); // CreateEndUserFeeConfig |
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
Object result = apiInstance.CreateEndUserFeeConfig(input, appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EndUserFeesApi.CreateEndUserFeeConfig: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| input | CreateEndUserFeeConfig | ||
| appId | string | ||
| storeId | int? |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiResultGetEndUserFeeConfigsResponse GetEndUserFeesForStore (string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetEndUserFeesForStoreExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new EndUserFeesApi();
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
RestApiResultGetEndUserFeeConfigsResponse result = apiInstance.GetEndUserFeesForStore(appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EndUserFeesApi.GetEndUserFeesForStore: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| storeId | int? |
RestApiResultGetEndUserFeeConfigsResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiResultSetV2FeeCalculationRequest SetV2FeeCalculation (SetV2FeeCalculationRequest input, string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class SetV2FeeCalculationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new EndUserFeesApi();
var input = new SetV2FeeCalculationRequest(); // SetV2FeeCalculationRequest |
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
RestApiResultSetV2FeeCalculationRequest result = apiInstance.SetV2FeeCalculation(input, appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EndUserFeesApi.SetV2FeeCalculation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| input | SetV2FeeCalculationRequest | ||
| appId | string | ||
| storeId | int? |
RestApiResultSetV2FeeCalculationRequest
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]