/* Options: Date: 2025-09-08 01:58:13 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://account.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PurchaseSubscription.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/account/subscription") // @Route(Path="/Subscriptions", Verbs="GET") public static class Subscriptions { public String section = null; public Boolean success = null; public Boolean activated = null; public Integer purchasedOrderId = null; public String getSection() { return section; } public Subscriptions setSection(String value) { this.section = value; return this; } public Boolean isSuccess() { return success; } public Subscriptions setSuccess(Boolean value) { this.success = value; return this; } public Boolean isActivated() { return activated; } public Subscriptions setActivated(Boolean value) { this.activated = value; return this; } public Integer getPurchasedOrderId() { return purchasedOrderId; } public Subscriptions setPurchasedOrderId(Integer value) { this.purchasedOrderId = value; return this; } } @Route(Path="/PurchaseSubscription", Verbs="POST") public static class PurchaseSubscription implements IReturn, ICardInfo, IAddress { public String code = null; public String coupon = null; public String renewalRef = null; public String upgradeRef = null; public Integer quantity = null; public String userAuthId = null; public Integer skuId = null; public Boolean isSmallCompany = null; public Boolean isNonProfit = null; public Boolean agreeTerms = null; public String firstName = null; public String lastName = null; public String email = null; public String password = null; public String company = null; public String phoneNumber = null; public String addressLine1 = null; public String addressLine2 = null; public String addressCity = null; public String addressZip = null; public String addressState = null; public String addressCountry = null; public String licenseName = null; public String licenseEmail = null; public String licenseAddress = null; public String cardNumber = null; public String cvc = null; public Integer expMonth = null; public Integer expYear = null; public String notes = null; public String getCode() { return code; } public PurchaseSubscription setCode(String value) { this.code = value; return this; } public String getCoupon() { return coupon; } public PurchaseSubscription setCoupon(String value) { this.coupon = value; return this; } public String getRenewalRef() { return renewalRef; } public PurchaseSubscription setRenewalRef(String value) { this.renewalRef = value; return this; } public String getUpgradeRef() { return upgradeRef; } public PurchaseSubscription setUpgradeRef(String value) { this.upgradeRef = value; return this; } public Integer getQuantity() { return quantity; } public PurchaseSubscription setQuantity(Integer value) { this.quantity = value; return this; } public String getUserAuthId() { return userAuthId; } public PurchaseSubscription setUserAuthId(String value) { this.userAuthId = value; return this; } public Integer getSkuId() { return skuId; } public PurchaseSubscription setSkuId(Integer value) { this.skuId = value; return this; } public Boolean getIsSmallCompany() { return isSmallCompany; } public PurchaseSubscription setIsSmallCompany(Boolean value) { this.isSmallCompany = value; return this; } public Boolean getIsNonProfit() { return isNonProfit; } public PurchaseSubscription setIsNonProfit(Boolean value) { this.isNonProfit = value; return this; } public Boolean isAgreeTerms() { return agreeTerms; } public PurchaseSubscription setAgreeTerms(Boolean value) { this.agreeTerms = value; return this; } public String getFirstName() { return firstName; } public PurchaseSubscription setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public PurchaseSubscription setLastName(String value) { this.lastName = value; return this; } public String getEmail() { return email; } public PurchaseSubscription setEmail(String value) { this.email = value; return this; } public String getPassword() { return password; } public PurchaseSubscription setPassword(String value) { this.password = value; return this; } public String getCompany() { return company; } public PurchaseSubscription setCompany(String value) { this.company = value; return this; } public String getPhoneNumber() { return phoneNumber; } public PurchaseSubscription setPhoneNumber(String value) { this.phoneNumber = value; return this; } public String getAddressLine1() { return addressLine1; } public PurchaseSubscription setAddressLine1(String value) { this.addressLine1 = value; return this; } public String getAddressLine2() { return addressLine2; } public PurchaseSubscription setAddressLine2(String value) { this.addressLine2 = value; return this; } public String getAddressCity() { return addressCity; } public PurchaseSubscription setAddressCity(String value) { this.addressCity = value; return this; } public String getAddressZip() { return addressZip; } public PurchaseSubscription setAddressZip(String value) { this.addressZip = value; return this; } public String getAddressState() { return addressState; } public PurchaseSubscription setAddressState(String value) { this.addressState = value; return this; } public String getAddressCountry() { return addressCountry; } public PurchaseSubscription setAddressCountry(String value) { this.addressCountry = value; return this; } public String getLicenseName() { return licenseName; } public PurchaseSubscription setLicenseName(String value) { this.licenseName = value; return this; } public String getLicenseEmail() { return licenseEmail; } public PurchaseSubscription setLicenseEmail(String value) { this.licenseEmail = value; return this; } public String getLicenseAddress() { return licenseAddress; } public PurchaseSubscription setLicenseAddress(String value) { this.licenseAddress = value; return this; } public String getCardNumber() { return cardNumber; } public PurchaseSubscription setCardNumber(String value) { this.cardNumber = value; return this; } public String getCvc() { return cvc; } public PurchaseSubscription setCvc(String value) { this.cvc = value; return this; } public Integer getExpMonth() { return expMonth; } public PurchaseSubscription setExpMonth(Integer value) { this.expMonth = value; return this; } public Integer getExpYear() { return expYear; } public PurchaseSubscription setExpYear(Integer value) { this.expYear = value; return this; } public String getNotes() { return notes; } public PurchaseSubscription setNotes(String value) { this.notes = value; return this; } private static Object responseType = Subscriptions.class; public Object getResponseType() { return responseType; } } public static interface ICardInfo { public String cardNumber = null; public Integer expMonth = null; public Integer expYear = null; public String cvc = null; } public static interface IAddress { public String addressLine1 = null; public String addressLine2 = null; public String addressCity = null; public String addressZip = null; public String addressState = null; public String addressCountry = null; } }