public OntraportBaseCustomObject(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects, string endpointSingular, string endpointPlural, int objectTypeId, string primarySearchKey) : base(apiRequest, endpointSingular, endpointPlural, primarySearchKey) { _ontraObjects = ontraObjects; _objectTypeId = objectTypeId; }
public OntraportCustomObjects(OntraportHttpClient apiRequest) : base(apiRequest, "CustomObject", "CustomObjects") { }
public OntraportCompanies(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Company", "Companies", (int)ApiObjectType.Company, ApiCompany.NameKey) { }
public OntraportBaseWrite(OntraportHttpClient apiRequest, string endpointSingular, string endpointPlural, string primarySearchKey) : base(apiRequest, endpointSingular, endpointPlural) { PrimarySearchKey = primarySearchKey; }
public OntraportOffers(OntraportHttpClient apiRequest) : base(apiRequest, "Offer", "Offers", ApiOffer.NameKey) { }
public OntraportMessages(OntraportHttpClient apiRequest) : base(apiRequest, "Message", "Messages", ApiMessage.AliasKey) { }
public OntraportBaseDelete(OntraportHttpClient apiRequest, string endpointSingular, string endpointPlural, string primarySearchKey) : base(apiRequest, endpointSingular, endpointPlural, primarySearchKey) { }
public OntraportCreditCards(OntraportHttpClient apiRequest) : base(apiRequest, "CreditCard", "CreditCards") { }
public OntraportCoupons(OntraportHttpClient apiRequest) : base(apiRequest, "Coupon", "Coupons", ApiCoupon.NameKey) { }
public OntraportContacts(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Contact", "Contacts", (int)ApiObjectType.Contact, ApiContact.EmailKey) { }
public OntraportProducts(OntraportHttpClient apiRequest) : base(apiRequest, "Product", "Products", ApiProduct.NameKey) { }
public OntraportTransactions(OntraportHttpClient apiRequest) : base(apiRequest, "Transaction", "Transactions") { }
public OntraportBaseRead(OntraportHttpClient apiRequest, string endpointSingular, string endpointPlural) { ApiRequest = apiRequest; EndpointSingular = endpointSingular; EndpointPlural = endpointPlural; }
public OntraportLandingPages(OntraportHttpClient apiRequest) : base(apiRequest, "LandingPage", "LandingPages") { }
public OntraportCouponCodes(OntraportHttpClient apiRequest) : base(apiRequest, "CouponCode", "CouponCodes") { }
public OntraportDeals(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Deal", "Deals", (int)ApiObjectType.Deal, ApiDeal.NameKey) { }
public OntraportRules(OntraportHttpClient apiRequest) : base(apiRequest, "Rule", "Rules", ApiRule.NameKey) { }
public OntraportForms(OntraportHttpClient apiRequest) : base(apiRequest, "Form", "Forms") { }
public OntraportCampaignBuilderItems(OntraportHttpClient apiRequest) : base(apiRequest, "CampaignBuilderItem", "CampaignBuilderItems") { }
public OntraportObjects(OntraportHttpClient apiRequest) { _apiRequest = apiRequest; }
public OntraportCouponProducts(OntraportHttpClient apiRequest) : base(apiRequest, "CouponProduct", "CouponProducts") { }
public OntraportTasks(OntraportHttpClient apiRequest) : base(apiRequest, "Task", "Tasks") { }
public OntraportWebhooks(OntraportHttpClient apiRequest) : base(apiRequest, "Webhook", "Webhooks") { }