public ApiBase(PoyntSDK sdk, Func <string> endPoint, Func <HttpClient> getHttpClient = null) { this.sdk = sdk; this.endPoint = endPoint; this.getHttpClient = getHttpClient ?? GetHttpClient; jsonSerializerSettings = new JsonSerializerSettings(); jsonSerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver(); jsonSerializerSettings.Converters.Add(new StringEnumConverter()); jsonSerializerSettings.DateTimeZoneHandling = DateTimeZoneHandling.Utc; }
public ApiTransaction(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiBusiness(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiCustomer(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public Api(PoyntSDK sdk, params string[] parents) : base(sdk, () => Constants.POYNT_API_HOST + EndpointConfig.Get <TModel>().Resolve(parents)) { this.endPointRef = EndpointConfig.Get <TModel>(); }
public ApiWebhook(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiTax(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiNotification(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiVariant(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiProductSummary(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiHookDelivery(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiCatalogFull(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }
public ApiCategory(PoyntSDK sdk, params string[] parents) : base(sdk, parents) { }