| POST | /v1/c/{Slug}/auth/verify |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class CustomerAppAuthVerifyRequest
{
public String Slug = null;
public String Profile = null;
public String Phone = null;
public String Code = null;
public String getSlug() { return Slug; }
public CustomerAppAuthVerifyRequest setSlug(String value) { this.Slug = value; return this; }
public String getProfile() { return Profile; }
public CustomerAppAuthVerifyRequest setProfile(String value) { this.Profile = value; return this; }
public String getPhone() { return Phone; }
public CustomerAppAuthVerifyRequest setPhone(String value) { this.Phone = value; return this; }
public String getCode() { return Code; }
public CustomerAppAuthVerifyRequest setCode(String value) { this.Code = value; return this; }
}
public static class CustomerAppResponse
{
public CustomerAppBoot Boot = null;
public CustomerAppMe Customer = null;
public ArrayList<CustomerAppAddress> Addresses = new ArrayList<CustomerAppAddress>();
public ArrayList<CustomerAppCard> Cards = new ArrayList<CustomerAppCard>();
public CustomerAppNotif Notif = null;
public ArrayList<CustomerAppRecurrence> Recurring = new ArrayList<CustomerAppRecurrence>();
public CourierBookOrderResponse Booked = null;
public Boolean Sent = null;
public String Token = null;
public Boolean NeedsName = null;
public String Name = null;
public String Url = null;
public String ClientSecret = null;
public String PublishableKey = null;
public String Message = null;
public String ReopenStep = null;
public ArrayList<CourierCustomerRow> Customers = new ArrayList<CourierCustomerRow>();
public RunResult Run = null;
public ResponseStatus ResponseStatus = null;
public CustomerAppBoot getBoot() { return Boot; }
public CustomerAppResponse setBoot(CustomerAppBoot value) { this.Boot = value; return this; }
public CustomerAppMe getCustomer() { return Customer; }
public CustomerAppResponse setCustomer(CustomerAppMe value) { this.Customer = value; return this; }
public ArrayList<CustomerAppAddress> getAddresses() { return Addresses; }
public CustomerAppResponse setAddresses(ArrayList<CustomerAppAddress> value) { this.Addresses = value; return this; }
public ArrayList<CustomerAppCard> getCards() { return Cards; }
public CustomerAppResponse setCards(ArrayList<CustomerAppCard> value) { this.Cards = value; return this; }
public CustomerAppNotif getNotif() { return Notif; }
public CustomerAppResponse setNotif(CustomerAppNotif value) { this.Notif = value; return this; }
public ArrayList<CustomerAppRecurrence> getRecurring() { return Recurring; }
public CustomerAppResponse setRecurring(ArrayList<CustomerAppRecurrence> value) { this.Recurring = value; return this; }
public CourierBookOrderResponse getBooked() { return Booked; }
public CustomerAppResponse setBooked(CourierBookOrderResponse value) { this.Booked = value; return this; }
public Boolean isSent() { return Sent; }
public CustomerAppResponse setSent(Boolean value) { this.Sent = value; return this; }
public String getToken() { return Token; }
public CustomerAppResponse setToken(String value) { this.Token = value; return this; }
public Boolean isNeedsName() { return NeedsName; }
public CustomerAppResponse setNeedsName(Boolean value) { this.NeedsName = value; return this; }
public String getName() { return Name; }
public CustomerAppResponse setName(String value) { this.Name = value; return this; }
public String getUrl() { return Url; }
public CustomerAppResponse setUrl(String value) { this.Url = value; return this; }
public String getClientSecret() { return ClientSecret; }
public CustomerAppResponse setClientSecret(String value) { this.ClientSecret = value; return this; }
public String getPublishableKey() { return PublishableKey; }
public CustomerAppResponse setPublishableKey(String value) { this.PublishableKey = value; return this; }
public String getMessage() { return Message; }
public CustomerAppResponse setMessage(String value) { this.Message = value; return this; }
public String getReopenStep() { return ReopenStep; }
public CustomerAppResponse setReopenStep(String value) { this.ReopenStep = value; return this; }
public ArrayList<CourierCustomerRow> getCustomers() { return Customers; }
public CustomerAppResponse setCustomers(ArrayList<CourierCustomerRow> value) { this.Customers = value; return this; }
public RunResult getRun() { return Run; }
public CustomerAppResponse setRun(RunResult value) { this.Run = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public CustomerAppResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class CustomerAppBoot
{
public String Profile = null;
public Boolean Available = null;
public String Reason = null;
public String AuthMethod = null;
public String Slug = null;
public CourierBookPageView Page = null;
public String ManifestUrl = null;
public String getProfile() { return Profile; }
public CustomerAppBoot setProfile(String value) { this.Profile = value; return this; }
public Boolean isAvailable() { return Available; }
public CustomerAppBoot setAvailable(Boolean value) { this.Available = value; return this; }
public String getReason() { return Reason; }
public CustomerAppBoot setReason(String value) { this.Reason = value; return this; }
public String getAuthMethod() { return AuthMethod; }
public CustomerAppBoot setAuthMethod(String value) { this.AuthMethod = value; return this; }
public String getSlug() { return Slug; }
public CustomerAppBoot setSlug(String value) { this.Slug = value; return this; }
public CourierBookPageView getPage() { return Page; }
public CustomerAppBoot setPage(CourierBookPageView value) { this.Page = value; return this; }
public String getManifestUrl() { return ManifestUrl; }
public CustomerAppBoot setManifestUrl(String value) { this.ManifestUrl = value; return this; }
}
public static class CourierBookPageView
{
public Boolean Available = null;
public Boolean BookingOn = null;
public CourierTrackBusiness Business = null;
public CourierBookProfile Profile = null;
public ArrayList<CourierBookProfileLink> Profiles = new ArrayList<CourierBookProfileLink>();
public Boolean CardEnabled = null;
public String PublishableKey = null;
public String AppUrl = null;
public String Today = null;
public Integer Weekday = null;
public Integer NowMin = null;
public Boolean isAvailable() { return Available; }
public CourierBookPageView setAvailable(Boolean value) { this.Available = value; return this; }
public Boolean isBookingOn() { return BookingOn; }
public CourierBookPageView setBookingOn(Boolean value) { this.BookingOn = value; return this; }
public CourierTrackBusiness getBusiness() { return Business; }
public CourierBookPageView setBusiness(CourierTrackBusiness value) { this.Business = value; return this; }
public CourierBookProfile getProfile() { return Profile; }
public CourierBookPageView setProfile(CourierBookProfile value) { this.Profile = value; return this; }
public ArrayList<CourierBookProfileLink> getProfiles() { return Profiles; }
public CourierBookPageView setProfiles(ArrayList<CourierBookProfileLink> value) { this.Profiles = value; return this; }
public Boolean isCardEnabled() { return CardEnabled; }
public CourierBookPageView setCardEnabled(Boolean value) { this.CardEnabled = value; return this; }
public String getPublishableKey() { return PublishableKey; }
public CourierBookPageView setPublishableKey(String value) { this.PublishableKey = value; return this; }
public String getAppUrl() { return AppUrl; }
public CourierBookPageView setAppUrl(String value) { this.AppUrl = value; return this; }
public String getToday() { return Today; }
public CourierBookPageView setToday(String value) { this.Today = value; return this; }
public Integer getWeekday() { return Weekday; }
public CourierBookPageView setWeekday(Integer value) { this.Weekday = value; return this; }
public Integer getNowMin() { return NowMin; }
public CourierBookPageView setNowMin(Integer value) { this.NowMin = value; return this; }
}
public static class CourierTrackBusiness
{
public String Name = null;
public String Phone = null;
public String getName() { return Name; }
public CourierTrackBusiness setName(String value) { this.Name = value; return this; }
public String getPhone() { return Phone; }
public CourierTrackBusiness setPhone(String value) { this.Phone = value; return this; }
}
public static class CourierBookProfile
{
public String Code = null;
public String Name = null;
public String Shape = null;
public String Template = null;
public String UnitOne = null;
public String UnitMany = null;
public String UnitOneEs = null;
public String UnitManyEs = null;
public String FacilityNoun = null;
public String FacilityNounEs = null;
public String FacilityName = null;
public ArrayList<CourierBookLevel> Levels = new ArrayList<CourierBookLevel>();
public Boolean Asap = null;
public Boolean Recurring = null;
public String PayTiming = null;
public Boolean FinalAfterCount = null;
public BigDecimal CancelFee = null;
public BigDecimal MissedFee = null;
public Integer MissedWaitMin = null;
public ArrayList<String> ServiceArea = new ArrayList<String>();
public ArrayList<String> Zips = new ArrayList<String>();
public HandoffOptions Handoffs = null;
public String getCode() { return Code; }
public CourierBookProfile setCode(String value) { this.Code = value; return this; }
public String getName() { return Name; }
public CourierBookProfile setName(String value) { this.Name = value; return this; }
public String getShape() { return Shape; }
public CourierBookProfile setShape(String value) { this.Shape = value; return this; }
public String getTemplate() { return Template; }
public CourierBookProfile setTemplate(String value) { this.Template = value; return this; }
public String getUnitOne() { return UnitOne; }
public CourierBookProfile setUnitOne(String value) { this.UnitOne = value; return this; }
public String getUnitMany() { return UnitMany; }
public CourierBookProfile setUnitMany(String value) { this.UnitMany = value; return this; }
public String getUnitOneEs() { return UnitOneEs; }
public CourierBookProfile setUnitOneEs(String value) { this.UnitOneEs = value; return this; }
public String getUnitManyEs() { return UnitManyEs; }
public CourierBookProfile setUnitManyEs(String value) { this.UnitManyEs = value; return this; }
public String getFacilityNoun() { return FacilityNoun; }
public CourierBookProfile setFacilityNoun(String value) { this.FacilityNoun = value; return this; }
public String getFacilityNounEs() { return FacilityNounEs; }
public CourierBookProfile setFacilityNounEs(String value) { this.FacilityNounEs = value; return this; }
public String getFacilityName() { return FacilityName; }
public CourierBookProfile setFacilityName(String value) { this.FacilityName = value; return this; }
public ArrayList<CourierBookLevel> getLevels() { return Levels; }
public CourierBookProfile setLevels(ArrayList<CourierBookLevel> value) { this.Levels = value; return this; }
public Boolean isAsap() { return Asap; }
public CourierBookProfile setAsap(Boolean value) { this.Asap = value; return this; }
public Boolean isRecurring() { return Recurring; }
public CourierBookProfile setRecurring(Boolean value) { this.Recurring = value; return this; }
public String getPayTiming() { return PayTiming; }
public CourierBookProfile setPayTiming(String value) { this.PayTiming = value; return this; }
public Boolean isFinalAfterCount() { return FinalAfterCount; }
public CourierBookProfile setFinalAfterCount(Boolean value) { this.FinalAfterCount = value; return this; }
public BigDecimal getCancelFee() { return CancelFee; }
public CourierBookProfile setCancelFee(BigDecimal value) { this.CancelFee = value; return this; }
public BigDecimal getMissedFee() { return MissedFee; }
public CourierBookProfile setMissedFee(BigDecimal value) { this.MissedFee = value; return this; }
public Integer getMissedWaitMin() { return MissedWaitMin; }
public CourierBookProfile setMissedWaitMin(Integer value) { this.MissedWaitMin = value; return this; }
public ArrayList<String> getServiceArea() { return ServiceArea; }
public CourierBookProfile setServiceArea(ArrayList<String> value) { this.ServiceArea = value; return this; }
public ArrayList<String> getZips() { return Zips; }
public CourierBookProfile setZips(ArrayList<String> value) { this.Zips = value; return this; }
public HandoffOptions getHandoffs() { return Handoffs; }
public CourierBookProfile setHandoffs(HandoffOptions value) { this.Handoffs = value; return this; }
}
public static class CourierBookLevel
{
public String Code = null;
public String Name = null;
public String Ready = null;
public Integer WithinMin = null;
public String InBy = null;
public BigDecimal Surcharge = null;
public ArrayList<Integer> Days = new ArrayList<Integer>();
public Integer DeadlineMin = null;
public String getCode() { return Code; }
public CourierBookLevel setCode(String value) { this.Code = value; return this; }
public String getName() { return Name; }
public CourierBookLevel setName(String value) { this.Name = value; return this; }
public String getReady() { return Ready; }
public CourierBookLevel setReady(String value) { this.Ready = value; return this; }
public Integer getWithinMin() { return WithinMin; }
public CourierBookLevel setWithinMin(Integer value) { this.WithinMin = value; return this; }
public String getInBy() { return InBy; }
public CourierBookLevel setInBy(String value) { this.InBy = value; return this; }
public BigDecimal getSurcharge() { return Surcharge; }
public CourierBookLevel setSurcharge(BigDecimal value) { this.Surcharge = value; return this; }
public ArrayList<Integer> getDays() { return Days; }
public CourierBookLevel setDays(ArrayList<Integer> value) { this.Days = value; return this; }
public Integer getDeadlineMin() { return DeadlineMin; }
public CourierBookLevel setDeadlineMin(Integer value) { this.DeadlineMin = value; return this; }
}
public static class HandoffOptions
{
public Boolean Hand = null;
public Boolean Porch = null;
public Boolean Desk = null;
public Boolean SigRequired = null;
public Boolean IdRequired = null;
public Boolean CodeRequired = null;
public Boolean isHand() { return Hand; }
public HandoffOptions setHand(Boolean value) { this.Hand = value; return this; }
public Boolean isPorch() { return Porch; }
public HandoffOptions setPorch(Boolean value) { this.Porch = value; return this; }
public Boolean isDesk() { return Desk; }
public HandoffOptions setDesk(Boolean value) { this.Desk = value; return this; }
public Boolean isSigRequired() { return SigRequired; }
public HandoffOptions setSigRequired(Boolean value) { this.SigRequired = value; return this; }
public Boolean isIdRequired() { return IdRequired; }
public HandoffOptions setIdRequired(Boolean value) { this.IdRequired = value; return this; }
public Boolean isCodeRequired() { return CodeRequired; }
public HandoffOptions setCodeRequired(Boolean value) { this.CodeRequired = value; return this; }
}
public static class CourierBookProfileLink
{
public String Code = null;
public String Name = null;
public String Shape = null;
public String getCode() { return Code; }
public CourierBookProfileLink setCode(String value) { this.Code = value; return this; }
public String getName() { return Name; }
public CourierBookProfileLink setName(String value) { this.Name = value; return this; }
public String getShape() { return Shape; }
public CourierBookProfileLink setShape(String value) { this.Shape = value; return this; }
}
public static class CustomerAppMe
{
public Integer ContactId = null;
public String FirstName = null;
public String LastName = null;
public String Name = null;
public String Phone = null;
public Boolean NeedsName = null;
public String BillingMode = null;
public String AccountCode = null;
public ArrayList<CustomerAppAddress> Addresses = new ArrayList<CustomerAppAddress>();
public ArrayList<CustomerAppCard> Cards = new ArrayList<CustomerAppCard>();
public CustomerAppNotif Notif = null;
public ArrayList<CustomerAppOrder> Orders = new ArrayList<CustomerAppOrder>();
public ArrayList<CustomerAppRecurrence> Recurring = new ArrayList<CustomerAppRecurrence>();
public ArrayList<CustomerAppInvoice> Invoices = new ArrayList<CustomerAppInvoice>();
public String Today = null;
public Integer NowMin = null;
public Integer getContactId() { return ContactId; }
public CustomerAppMe setContactId(Integer value) { this.ContactId = value; return this; }
public String getFirstName() { return FirstName; }
public CustomerAppMe setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public CustomerAppMe setLastName(String value) { this.LastName = value; return this; }
public String getName() { return Name; }
public CustomerAppMe setName(String value) { this.Name = value; return this; }
public String getPhone() { return Phone; }
public CustomerAppMe setPhone(String value) { this.Phone = value; return this; }
public Boolean isNeedsName() { return NeedsName; }
public CustomerAppMe setNeedsName(Boolean value) { this.NeedsName = value; return this; }
public String getBillingMode() { return BillingMode; }
public CustomerAppMe setBillingMode(String value) { this.BillingMode = value; return this; }
public String getAccountCode() { return AccountCode; }
public CustomerAppMe setAccountCode(String value) { this.AccountCode = value; return this; }
public ArrayList<CustomerAppAddress> getAddresses() { return Addresses; }
public CustomerAppMe setAddresses(ArrayList<CustomerAppAddress> value) { this.Addresses = value; return this; }
public ArrayList<CustomerAppCard> getCards() { return Cards; }
public CustomerAppMe setCards(ArrayList<CustomerAppCard> value) { this.Cards = value; return this; }
public CustomerAppNotif getNotif() { return Notif; }
public CustomerAppMe setNotif(CustomerAppNotif value) { this.Notif = value; return this; }
public ArrayList<CustomerAppOrder> getOrders() { return Orders; }
public CustomerAppMe setOrders(ArrayList<CustomerAppOrder> value) { this.Orders = value; return this; }
public ArrayList<CustomerAppRecurrence> getRecurring() { return Recurring; }
public CustomerAppMe setRecurring(ArrayList<CustomerAppRecurrence> value) { this.Recurring = value; return this; }
public ArrayList<CustomerAppInvoice> getInvoices() { return Invoices; }
public CustomerAppMe setInvoices(ArrayList<CustomerAppInvoice> value) { this.Invoices = value; return this; }
public String getToday() { return Today; }
public CustomerAppMe setToday(String value) { this.Today = value; return this; }
public Integer getNowMin() { return NowMin; }
public CustomerAppMe setNowMin(Integer value) { this.NowMin = value; return this; }
}
public static class CustomerAppAddress
{
public Integer Id = null;
public String Label = null;
public String Street = null;
public String Unit = null;
public String City = null;
public String Zip = null;
public BigDecimal Lat = null;
public BigDecimal Lng = null;
public Boolean InArea = null;
public Integer getId() { return Id; }
public CustomerAppAddress setId(Integer value) { this.Id = value; return this; }
public String getLabel() { return Label; }
public CustomerAppAddress setLabel(String value) { this.Label = value; return this; }
public String getStreet() { return Street; }
public CustomerAppAddress setStreet(String value) { this.Street = value; return this; }
public String getUnit() { return Unit; }
public CustomerAppAddress setUnit(String value) { this.Unit = value; return this; }
public String getCity() { return City; }
public CustomerAppAddress setCity(String value) { this.City = value; return this; }
public String getZip() { return Zip; }
public CustomerAppAddress setZip(String value) { this.Zip = value; return this; }
public BigDecimal getLat() { return Lat; }
public CustomerAppAddress setLat(BigDecimal value) { this.Lat = value; return this; }
public BigDecimal getLng() { return Lng; }
public CustomerAppAddress setLng(BigDecimal value) { this.Lng = value; return this; }
public Boolean isInArea() { return InArea; }
public CustomerAppAddress setInArea(Boolean value) { this.InArea = value; return this; }
}
public static class CustomerAppCard
{
public Integer Id = null;
public String Label = null;
public String Brand = null;
public String Last4 = null;
public Boolean IsDefault = null;
public Integer getId() { return Id; }
public CustomerAppCard setId(Integer value) { this.Id = value; return this; }
public String getLabel() { return Label; }
public CustomerAppCard setLabel(String value) { this.Label = value; return this; }
public String getBrand() { return Brand; }
public CustomerAppCard setBrand(String value) { this.Brand = value; return this; }
public String getLast4() { return Last4; }
public CustomerAppCard setLast4(String value) { this.Last4 = value; return this; }
public Boolean getIsDefault() { return IsDefault; }
public CustomerAppCard setIsDefault(Boolean value) { this.IsDefault = value; return this; }
}
public static class CustomerAppNotif
{
public Boolean Texts = null;
public Boolean Push = null;
public Boolean Promos = null;
public Boolean isTexts() { return Texts; }
public CustomerAppNotif setTexts(Boolean value) { this.Texts = value; return this; }
public Boolean isPush() { return Push; }
public CustomerAppNotif setPush(Boolean value) { this.Push = value; return this; }
public Boolean isPromos() { return Promos; }
public CustomerAppNotif setPromos(Boolean value) { this.Promos = value; return this; }
}
public static class CustomerAppOrder
{
public Integer Id = null;
public String Code = null;
public String Status = null;
public String State = null;
public Boolean Active = null;
public String LevelCode = null;
public String LevelName = null;
public Integer Units = null;
public Integer UnitsFound = null;
public String Address = null;
public String Unit = null;
public String Zip = null;
public String DropAddress = null;
public String RecipientName = null;
public String Handoff = null;
public Boolean IsAsap = null;
public Integer DayIx = null;
public String DateText = null;
public Integer StartMin = null;
public Integer EndMin = null;
public String DriverFirstName = null;
public Integer EtaMin = null;
public String Promise = null;
public String PayMode = null;
public BigDecimal Amount = null;
public BigDecimal Charged = null;
public BigDecimal Tip = null;
public String CardLast4 = null;
public Integer RecurrenceId = null;
public ArrayList<CustomerAppStep> Steps = new ArrayList<CustomerAppStep>();
public Integer getId() { return Id; }
public CustomerAppOrder setId(Integer value) { this.Id = value; return this; }
public String getCode() { return Code; }
public CustomerAppOrder setCode(String value) { this.Code = value; return this; }
public String getStatus() { return Status; }
public CustomerAppOrder setStatus(String value) { this.Status = value; return this; }
public String getState() { return State; }
public CustomerAppOrder setState(String value) { this.State = value; return this; }
public Boolean isActive() { return Active; }
public CustomerAppOrder setActive(Boolean value) { this.Active = value; return this; }
public String getLevelCode() { return LevelCode; }
public CustomerAppOrder setLevelCode(String value) { this.LevelCode = value; return this; }
public String getLevelName() { return LevelName; }
public CustomerAppOrder setLevelName(String value) { this.LevelName = value; return this; }
public Integer getUnits() { return Units; }
public CustomerAppOrder setUnits(Integer value) { this.Units = value; return this; }
public Integer getUnitsFound() { return UnitsFound; }
public CustomerAppOrder setUnitsFound(Integer value) { this.UnitsFound = value; return this; }
public String getAddress() { return Address; }
public CustomerAppOrder setAddress(String value) { this.Address = value; return this; }
public String getUnit() { return Unit; }
public CustomerAppOrder setUnit(String value) { this.Unit = value; return this; }
public String getZip() { return Zip; }
public CustomerAppOrder setZip(String value) { this.Zip = value; return this; }
public String getDropAddress() { return DropAddress; }
public CustomerAppOrder setDropAddress(String value) { this.DropAddress = value; return this; }
public String getRecipientName() { return RecipientName; }
public CustomerAppOrder setRecipientName(String value) { this.RecipientName = value; return this; }
public String getHandoff() { return Handoff; }
public CustomerAppOrder setHandoff(String value) { this.Handoff = value; return this; }
public Boolean getIsAsap() { return IsAsap; }
public CustomerAppOrder setIsAsap(Boolean value) { this.IsAsap = value; return this; }
public Integer getDayIx() { return DayIx; }
public CustomerAppOrder setDayIx(Integer value) { this.DayIx = value; return this; }
public String getDateText() { return DateText; }
public CustomerAppOrder setDateText(String value) { this.DateText = value; return this; }
public Integer getStartMin() { return StartMin; }
public CustomerAppOrder setStartMin(Integer value) { this.StartMin = value; return this; }
public Integer getEndMin() { return EndMin; }
public CustomerAppOrder setEndMin(Integer value) { this.EndMin = value; return this; }
public String getDriverFirstName() { return DriverFirstName; }
public CustomerAppOrder setDriverFirstName(String value) { this.DriverFirstName = value; return this; }
public Integer getEtaMin() { return EtaMin; }
public CustomerAppOrder setEtaMin(Integer value) { this.EtaMin = value; return this; }
public String getPromise() { return Promise; }
public CustomerAppOrder setPromise(String value) { this.Promise = value; return this; }
public String getPayMode() { return PayMode; }
public CustomerAppOrder setPayMode(String value) { this.PayMode = value; return this; }
public BigDecimal getAmount() { return Amount; }
public CustomerAppOrder setAmount(BigDecimal value) { this.Amount = value; return this; }
public BigDecimal getCharged() { return Charged; }
public CustomerAppOrder setCharged(BigDecimal value) { this.Charged = value; return this; }
public BigDecimal getTip() { return Tip; }
public CustomerAppOrder setTip(BigDecimal value) { this.Tip = value; return this; }
public String getCardLast4() { return CardLast4; }
public CustomerAppOrder setCardLast4(String value) { this.CardLast4 = value; return this; }
public Integer getRecurrenceId() { return RecurrenceId; }
public CustomerAppOrder setRecurrenceId(Integer value) { this.RecurrenceId = value; return this; }
public ArrayList<CustomerAppStep> getSteps() { return Steps; }
public CustomerAppOrder setSteps(ArrayList<CustomerAppStep> value) { this.Steps = value; return this; }
}
public static class CustomerAppStep
{
public String Key = null;
public Boolean Done = null;
public String Time = null;
public String getKey() { return Key; }
public CustomerAppStep setKey(String value) { this.Key = value; return this; }
public Boolean isDone() { return Done; }
public CustomerAppStep setDone(Boolean value) { this.Done = value; return this; }
public String getTime() { return Time; }
public CustomerAppStep setTime(String value) { this.Time = value; return this; }
}
public static class CustomerAppRecurrence
{
public Integer Id = null;
public Integer Weekday = null;
public Integer StartMin = null;
public Integer EndMin = null;
public String Cadence = null;
public String LevelCode = null;
public Integer Units = null;
public String Handoff = null;
public String Address = null;
public Boolean Paused = null;
public String PayMode = null;
public String CardLast4 = null;
public String NextDate = null;
public String SkippedDate = null;
public Integer AheadDays = null;
public Integer getId() { return Id; }
public CustomerAppRecurrence setId(Integer value) { this.Id = value; return this; }
public Integer getWeekday() { return Weekday; }
public CustomerAppRecurrence setWeekday(Integer value) { this.Weekday = value; return this; }
public Integer getStartMin() { return StartMin; }
public CustomerAppRecurrence setStartMin(Integer value) { this.StartMin = value; return this; }
public Integer getEndMin() { return EndMin; }
public CustomerAppRecurrence setEndMin(Integer value) { this.EndMin = value; return this; }
public String getCadence() { return Cadence; }
public CustomerAppRecurrence setCadence(String value) { this.Cadence = value; return this; }
public String getLevelCode() { return LevelCode; }
public CustomerAppRecurrence setLevelCode(String value) { this.LevelCode = value; return this; }
public Integer getUnits() { return Units; }
public CustomerAppRecurrence setUnits(Integer value) { this.Units = value; return this; }
public String getHandoff() { return Handoff; }
public CustomerAppRecurrence setHandoff(String value) { this.Handoff = value; return this; }
public String getAddress() { return Address; }
public CustomerAppRecurrence setAddress(String value) { this.Address = value; return this; }
public Boolean isPaused() { return Paused; }
public CustomerAppRecurrence setPaused(Boolean value) { this.Paused = value; return this; }
public String getPayMode() { return PayMode; }
public CustomerAppRecurrence setPayMode(String value) { this.PayMode = value; return this; }
public String getCardLast4() { return CardLast4; }
public CustomerAppRecurrence setCardLast4(String value) { this.CardLast4 = value; return this; }
public String getNextDate() { return NextDate; }
public CustomerAppRecurrence setNextDate(String value) { this.NextDate = value; return this; }
public String getSkippedDate() { return SkippedDate; }
public CustomerAppRecurrence setSkippedDate(String value) { this.SkippedDate = value; return this; }
public Integer getAheadDays() { return AheadDays; }
public CustomerAppRecurrence setAheadDays(Integer value) { this.AheadDays = value; return this; }
}
public static class CustomerAppInvoice
{
public UUID Uid = null;
public String Number = null;
public String DateText = null;
public BigDecimal Total = null;
public BigDecimal Balance = null;
public Boolean Paid = null;
public UUID getUid() { return Uid; }
public CustomerAppInvoice setUid(UUID value) { this.Uid = value; return this; }
public String getNumber() { return Number; }
public CustomerAppInvoice setNumber(String value) { this.Number = value; return this; }
public String getDateText() { return DateText; }
public CustomerAppInvoice setDateText(String value) { this.DateText = value; return this; }
public BigDecimal getTotal() { return Total; }
public CustomerAppInvoice setTotal(BigDecimal value) { this.Total = value; return this; }
public BigDecimal getBalance() { return Balance; }
public CustomerAppInvoice setBalance(BigDecimal value) { this.Balance = value; return this; }
public Boolean isPaid() { return Paid; }
public CustomerAppInvoice setPaid(Boolean value) { this.Paid = value; return this; }
}
public static class CourierBookOrderResponse
{
public Boolean Done = null;
public Boolean NeedsAction = null;
public String ClientSecret = null;
public String SetupIntentId = null;
public String Code = null;
public String TrackUrl = null;
public String IcsUrl = null;
public String WindowText = null;
public String Promise = null;
public BigDecimal Total = null;
public String PayTiming = null;
public String CardLast4 = null;
public String Repeats = null;
public String LinkSentBy = null;
public String ReopenStep = null;
public ResponseStatus ResponseStatus = null;
public Boolean isDone() { return Done; }
public CourierBookOrderResponse setDone(Boolean value) { this.Done = value; return this; }
public Boolean isNeedsAction() { return NeedsAction; }
public CourierBookOrderResponse setNeedsAction(Boolean value) { this.NeedsAction = value; return this; }
public String getClientSecret() { return ClientSecret; }
public CourierBookOrderResponse setClientSecret(String value) { this.ClientSecret = value; return this; }
public String getSetupIntentId() { return SetupIntentId; }
public CourierBookOrderResponse setSetupIntentId(String value) { this.SetupIntentId = value; return this; }
public String getCode() { return Code; }
public CourierBookOrderResponse setCode(String value) { this.Code = value; return this; }
public String getTrackUrl() { return TrackUrl; }
public CourierBookOrderResponse setTrackUrl(String value) { this.TrackUrl = value; return this; }
public String getIcsUrl() { return IcsUrl; }
public CourierBookOrderResponse setIcsUrl(String value) { this.IcsUrl = value; return this; }
public String getWindowText() { return WindowText; }
public CourierBookOrderResponse setWindowText(String value) { this.WindowText = value; return this; }
public String getPromise() { return Promise; }
public CourierBookOrderResponse setPromise(String value) { this.Promise = value; return this; }
public BigDecimal getTotal() { return Total; }
public CourierBookOrderResponse setTotal(BigDecimal value) { this.Total = value; return this; }
public String getPayTiming() { return PayTiming; }
public CourierBookOrderResponse setPayTiming(String value) { this.PayTiming = value; return this; }
public String getCardLast4() { return CardLast4; }
public CourierBookOrderResponse setCardLast4(String value) { this.CardLast4 = value; return this; }
public String getRepeats() { return Repeats; }
public CourierBookOrderResponse setRepeats(String value) { this.Repeats = value; return this; }
public String getLinkSentBy() { return LinkSentBy; }
public CourierBookOrderResponse setLinkSentBy(String value) { this.LinkSentBy = value; return this; }
public String getReopenStep() { return ReopenStep; }
public CourierBookOrderResponse setReopenStep(String value) { this.ReopenStep = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public CourierBookOrderResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class CourierCustomerRow
{
public Integer ContactId = null;
public String Name = null;
public String Phone = null;
public String BillingMode = null;
public String AccountCode = null;
public Integer Orders = null;
public Date LastOrderAt = null;
public Integer Unbilled = null;
public BigDecimal UnbilledAmount = null;
public Integer Cards = null;
public Integer getContactId() { return ContactId; }
public CourierCustomerRow setContactId(Integer value) { this.ContactId = value; return this; }
public String getName() { return Name; }
public CourierCustomerRow setName(String value) { this.Name = value; return this; }
public String getPhone() { return Phone; }
public CourierCustomerRow setPhone(String value) { this.Phone = value; return this; }
public String getBillingMode() { return BillingMode; }
public CourierCustomerRow setBillingMode(String value) { this.BillingMode = value; return this; }
public String getAccountCode() { return AccountCode; }
public CourierCustomerRow setAccountCode(String value) { this.AccountCode = value; return this; }
public Integer getOrders() { return Orders; }
public CourierCustomerRow setOrders(Integer value) { this.Orders = value; return this; }
public Date getLastOrderAt() { return LastOrderAt; }
public CourierCustomerRow setLastOrderAt(Date value) { this.LastOrderAt = value; return this; }
public Integer getUnbilled() { return Unbilled; }
public CourierCustomerRow setUnbilled(Integer value) { this.Unbilled = value; return this; }
public BigDecimal getUnbilledAmount() { return UnbilledAmount; }
public CourierCustomerRow setUnbilledAmount(BigDecimal value) { this.UnbilledAmount = value; return this; }
public Integer getCards() { return Cards; }
public CourierCustomerRow setCards(Integer value) { this.Cards = value; return this; }
}
public static class RunResult
{
public Integer Invoices = null;
public Integer Orders = null;
public BigDecimal Total = null;
public ArrayList<String> Skipped = new ArrayList<String>();
public Integer getInvoices() { return Invoices; }
public RunResult setInvoices(Integer value) { this.Invoices = value; return this; }
public Integer getOrders() { return Orders; }
public RunResult setOrders(Integer value) { this.Orders = value; return this; }
public BigDecimal getTotal() { return Total; }
public RunResult setTotal(BigDecimal value) { this.Total = value; return this; }
public ArrayList<String> getSkipped() { return Skipped; }
public RunResult setSkipped(ArrayList<String> value) { this.Skipped = value; return this; }
}
}
Java CustomerAppAuthVerifyRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/c/{Slug}/auth/verify HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CustomerAppAuthVerifyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Code>String</Code>
<Phone>String</Phone>
<Profile>String</Profile>
<Slug>String</Slug>
</CustomerAppAuthVerifyRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CustomerAppResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Addresses>
<CustomerAppAddress>
<City>String</City>
<Id>0</Id>
<InArea>false</InArea>
<Label>String</Label>
<Lat>0</Lat>
<Lng>0</Lng>
<Street>String</Street>
<Unit>String</Unit>
<Zip>String</Zip>
</CustomerAppAddress>
</Addresses>
<Booked>
<CardLast4>String</CardLast4>
<ClientSecret>String</ClientSecret>
<Code>String</Code>
<Done>false</Done>
<IcsUrl>String</IcsUrl>
<LinkSentBy>String</LinkSentBy>
<NeedsAction>false</NeedsAction>
<PayTiming>String</PayTiming>
<Promise>String</Promise>
<ReopenStep>String</ReopenStep>
<Repeats>String</Repeats>
<ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types">
<d3p1:ErrorCode>String</d3p1:ErrorCode>
<d3p1:Message>String</d3p1:Message>
<d3p1:StackTrace>String</d3p1:StackTrace>
<d3p1:Errors>
<d3p1:ResponseError>
<d3p1:ErrorCode>String</d3p1:ErrorCode>
<d3p1:FieldName>String</d3p1:FieldName>
<d3p1:Message>String</d3p1:Message>
<d3p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringstring>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>String</d6p1:Value>
</d6p1:KeyValueOfstringstring>
</d3p1:Meta>
</d3p1:ResponseError>
</d3p1:Errors>
<d3p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value>String</d4p1:Value>
</d4p1:KeyValueOfstringstring>
</d3p1:Meta>
</ResponseStatus>
<SetupIntentId>String</SetupIntentId>
<Total>0</Total>
<TrackUrl>String</TrackUrl>
<WindowText>String</WindowText>
</Booked>
<Boot>
<AuthMethod>String</AuthMethod>
<Available>false</Available>
<ManifestUrl>String</ManifestUrl>
<Page>
<AppUrl>String</AppUrl>
<Available>false</Available>
<BookingOn>false</BookingOn>
<Business>
<Name>String</Name>
<Phone>String</Phone>
</Business>
<CardEnabled>false</CardEnabled>
<NowMin>0</NowMin>
<Profile>
<Asap>false</Asap>
<CancelFee>0</CancelFee>
<Code>String</Code>
<FacilityName>String</FacilityName>
<FacilityNoun>String</FacilityNoun>
<FacilityNounEs>String</FacilityNounEs>
<FinalAfterCount>false</FinalAfterCount>
<Handoffs>
<CodeRequired>false</CodeRequired>
<Desk>false</Desk>
<Hand>false</Hand>
<IdRequired>false</IdRequired>
<Porch>false</Porch>
<SigRequired>false</SigRequired>
</Handoffs>
<Levels>
<CourierBookLevel>
<Code>String</Code>
<Days xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</Days>
<DeadlineMin>0</DeadlineMin>
<InBy>String</InBy>
<Name>String</Name>
<Ready>String</Ready>
<Surcharge>0</Surcharge>
<WithinMin>0</WithinMin>
</CourierBookLevel>
</Levels>
<MissedFee>0</MissedFee>
<MissedWaitMin>0</MissedWaitMin>
<Name>String</Name>
<PayTiming>String</PayTiming>
<Recurring>false</Recurring>
<ServiceArea xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</ServiceArea>
<Shape>String</Shape>
<Template>String</Template>
<UnitMany>String</UnitMany>
<UnitManyEs>String</UnitManyEs>
<UnitOne>String</UnitOne>
<UnitOneEs>String</UnitOneEs>
<Zips xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</Zips>
</Profile>
<Profiles>
<CourierBookProfileLink>
<Code>String</Code>
<Name>String</Name>
<Shape>String</Shape>
</CourierBookProfileLink>
</Profiles>
<PublishableKey>String</PublishableKey>
<Today>String</Today>
<Weekday>0</Weekday>
</Page>
<Profile>String</Profile>
<Reason>String</Reason>
<Slug>String</Slug>
</Boot>
<Cards>
<CustomerAppCard>
<Brand>String</Brand>
<Id>0</Id>
<IsDefault>false</IsDefault>
<Label>String</Label>
<Last4>String</Last4>
</CustomerAppCard>
</Cards>
<ClientSecret>String</ClientSecret>
<Customer>
<AccountCode>String</AccountCode>
<Addresses>
<CustomerAppAddress>
<City>String</City>
<Id>0</Id>
<InArea>false</InArea>
<Label>String</Label>
<Lat>0</Lat>
<Lng>0</Lng>
<Street>String</Street>
<Unit>String</Unit>
<Zip>String</Zip>
</CustomerAppAddress>
</Addresses>
<BillingMode>String</BillingMode>
<Cards>
<CustomerAppCard>
<Brand>String</Brand>
<Id>0</Id>
<IsDefault>false</IsDefault>
<Label>String</Label>
<Last4>String</Last4>
</CustomerAppCard>
</Cards>
<ContactId>0</ContactId>
<FirstName>String</FirstName>
<Invoices>
<CustomerAppInvoice>
<Balance>0</Balance>
<DateText>String</DateText>
<Number>String</Number>
<Paid>false</Paid>
<Total>0</Total>
<Uid>00000000-0000-0000-0000-000000000000</Uid>
</CustomerAppInvoice>
</Invoices>
<LastName>String</LastName>
<Name>String</Name>
<NeedsName>false</NeedsName>
<Notif>
<Promos>false</Promos>
<Push>false</Push>
<Texts>false</Texts>
</Notif>
<NowMin>0</NowMin>
<Orders>
<CustomerAppOrder>
<Active>false</Active>
<Address>String</Address>
<Amount>0</Amount>
<CardLast4>String</CardLast4>
<Charged>0</Charged>
<Code>String</Code>
<DateText>String</DateText>
<DayIx>0</DayIx>
<DriverFirstName>String</DriverFirstName>
<DropAddress>String</DropAddress>
<EndMin>0</EndMin>
<EtaMin>0</EtaMin>
<Handoff>String</Handoff>
<Id>0</Id>
<IsAsap>false</IsAsap>
<LevelCode>String</LevelCode>
<LevelName>String</LevelName>
<PayMode>String</PayMode>
<Promise>String</Promise>
<RecipientName>String</RecipientName>
<RecurrenceId>0</RecurrenceId>
<StartMin>0</StartMin>
<State>String</State>
<Status>String</Status>
<Steps>
<CustomerAppStep>
<Done>false</Done>
<Key>String</Key>
<Time>String</Time>
</CustomerAppStep>
</Steps>
<Tip>0</Tip>
<Unit>String</Unit>
<Units>0</Units>
<UnitsFound>0</UnitsFound>
<Zip>String</Zip>
</CustomerAppOrder>
</Orders>
<Phone>String</Phone>
<Recurring>
<CustomerAppRecurrence>
<Address>String</Address>
<AheadDays>0</AheadDays>
<Cadence>String</Cadence>
<CardLast4>String</CardLast4>
<EndMin>0</EndMin>
<Handoff>String</Handoff>
<Id>0</Id>
<LevelCode>String</LevelCode>
<NextDate>String</NextDate>
<Paused>false</Paused>
<PayMode>String</PayMode>
<SkippedDate>String</SkippedDate>
<StartMin>0</StartMin>
<Units>0</Units>
<Weekday>0</Weekday>
</CustomerAppRecurrence>
</Recurring>
<Today>String</Today>
</Customer>
<Customers>
<CourierCustomerRow>
<AccountCode>String</AccountCode>
<BillingMode>String</BillingMode>
<Cards>0</Cards>
<ContactId>0</ContactId>
<LastOrderAt>0001-01-01T00:00:00</LastOrderAt>
<Name>String</Name>
<Orders>0</Orders>
<Phone>String</Phone>
<Unbilled>0</Unbilled>
<UnbilledAmount>0</UnbilledAmount>
</CourierCustomerRow>
</Customers>
<Message>String</Message>
<Name>String</Name>
<NeedsName>false</NeedsName>
<Notif>
<Promos>false</Promos>
<Push>false</Push>
<Texts>false</Texts>
</Notif>
<PublishableKey>String</PublishableKey>
<Recurring>
<CustomerAppRecurrence>
<Address>String</Address>
<AheadDays>0</AheadDays>
<Cadence>String</Cadence>
<CardLast4>String</CardLast4>
<EndMin>0</EndMin>
<Handoff>String</Handoff>
<Id>0</Id>
<LevelCode>String</LevelCode>
<NextDate>String</NextDate>
<Paused>false</Paused>
<PayMode>String</PayMode>
<SkippedDate>String</SkippedDate>
<StartMin>0</StartMin>
<Units>0</Units>
<Weekday>0</Weekday>
</CustomerAppRecurrence>
</Recurring>
<ReopenStep>String</ReopenStep>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<Run>
<Invoices>0</Invoices>
<Orders>0</Orders>
<Skipped xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</Skipped>
<Total>0</Total>
</Run>
<Sent>false</Sent>
<Token>String</Token>
<Url>String</Url>
</CustomerAppResponse>