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")
 {
 }
Exemplo n.º 3
0
 public OntraportCompanies(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Company", "Companies", (int)ApiObjectType.Company, ApiCompany.NameKey)
 {
 }
Exemplo n.º 4
0
 public OntraportBaseWrite(OntraportHttpClient apiRequest, string endpointSingular, string endpointPlural, string primarySearchKey) :
     base(apiRequest, endpointSingular, endpointPlural)
 {
     PrimarySearchKey = primarySearchKey;
 }
Exemplo n.º 5
0
 public OntraportOffers(OntraportHttpClient apiRequest) :
     base(apiRequest, "Offer", "Offers", ApiOffer.NameKey)
 {
 }
Exemplo n.º 6
0
 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")
 {
 }
Exemplo n.º 9
0
 public OntraportCoupons(OntraportHttpClient apiRequest) :
     base(apiRequest, "Coupon", "Coupons", ApiCoupon.NameKey)
 {
 }
Exemplo n.º 10
0
 public OntraportContacts(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Contact", "Contacts", (int)ApiObjectType.Contact, ApiContact.EmailKey)
 {
 }
Exemplo n.º 11
0
 public OntraportProducts(OntraportHttpClient apiRequest) :
     base(apiRequest, "Product", "Products", ApiProduct.NameKey)
 {
 }
Exemplo n.º 12
0
 public OntraportTransactions(OntraportHttpClient apiRequest) :
     base(apiRequest, "Transaction", "Transactions")
 {
 }
Exemplo n.º 13
0
 public OntraportBaseRead(OntraportHttpClient apiRequest, string endpointSingular, string endpointPlural)
 {
     ApiRequest       = apiRequest;
     EndpointSingular = endpointSingular;
     EndpointPlural   = endpointPlural;
 }
 public OntraportLandingPages(OntraportHttpClient apiRequest) :
     base(apiRequest, "LandingPage", "LandingPages")
 {
 }
Exemplo n.º 15
0
 public OntraportCouponCodes(OntraportHttpClient apiRequest) :
     base(apiRequest, "CouponCode", "CouponCodes")
 {
 }
Exemplo n.º 16
0
 public OntraportDeals(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Deal", "Deals", (int)ApiObjectType.Deal, ApiDeal.NameKey)
 {
 }
Exemplo n.º 17
0
 public OntraportRules(OntraportHttpClient apiRequest) :
     base(apiRequest, "Rule", "Rules", ApiRule.NameKey)
 {
 }
Exemplo n.º 18
0
 public OntraportForms(OntraportHttpClient apiRequest) :
     base(apiRequest, "Form", "Forms")
 {
 }
 public OntraportCampaignBuilderItems(OntraportHttpClient apiRequest) :
     base(apiRequest, "CampaignBuilderItem", "CampaignBuilderItems")
 {
 }
Exemplo n.º 20
0
 public OntraportObjects(OntraportHttpClient apiRequest)
 {
     _apiRequest = apiRequest;
 }
 public OntraportCouponProducts(OntraportHttpClient apiRequest) :
     base(apiRequest, "CouponProduct", "CouponProducts")
 {
 }
Exemplo n.º 22
0
 public OntraportTasks(OntraportHttpClient apiRequest) : 
     base(apiRequest, "Task", "Tasks")
 { }
Exemplo n.º 23
0
 public OntraportWebhooks(OntraportHttpClient apiRequest) :
     base(apiRequest, "Webhook", "Webhooks")
 {
 }