Package com.onslip360
Class API.Campaign
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Campaign>
-
- com.onslip360.API.Campaign
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Campaign>>
- Enclosing class:
- API
public static class API.Campaign extends Onslip360Object<API.Campaign>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.Campaign.Type
-
Constructor Summary
Constructors Constructor Description Campaign(String name, API.CampaignRules[] rules, API.Campaign.Type type)
-
Method Summary
-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
Campaign
public Campaign(String name, API.CampaignRules[] rules, API.Campaign.Type type)
-
-
Method Detail
-
name
@Nonnull public String name()
-
rules
@Nonnull public API.CampaignRules[] rules()
-
type
@Nonnull public API.Campaign.Type type()
-
activeLabels
@Nonnull public API.Campaign activeLabels(@Nullable Long[] activeLabels)
-
amount
@Nonnull public API.Campaign amount(@Nullable Double amount)
-
created
@Nonnull public API.Campaign created(@Nullable String created)
-
deleted
@Nonnull public API.Campaign deleted(@Nullable String deleted)
-
description
@Nonnull public API.Campaign description(@Nullable String description)
-
discountRate
@Nonnull public API.Campaign discountRate(@Nullable Float discountRate)
-
endDate
@Nonnull public API.Campaign endDate(@Nullable String endDate)
-
id
@Nonnull public API.Campaign id(@Nullable Long id)
-
labels
@Nonnull public API.Campaign labels(@Nullable Long[] labels)
-
locations
@Nonnull public API.Campaign locations(@Nullable Long[] locations)
-
name
@Nonnull public API.Campaign name(String name)
-
packagePrice
@Nonnull public API.Campaign packagePrice(@Nullable Boolean packagePrice)
-
rules
@Nonnull public API.Campaign rules(API.CampaignRules[] rules)
-
schedules
@Nonnull public API.Campaign schedules(@Nullable String[] schedules)
-
startDate
@Nonnull public API.Campaign startDate(@Nullable String startDate)
-
tags
@Nonnull public API.Campaign tags(@Nullable String[] tags)
-
type
@Nonnull public API.Campaign type(API.Campaign.Type type)
-
updated
@Nonnull public API.Campaign updated(@Nullable String updated)
-
updatedBy
@Nonnull public API.Campaign updatedBy(@Nullable Long updatedBy)
-
updatedFrom
@Nonnull public API.Campaign updatedFrom(@Nullable Long updatedFrom)
-
-