/* Options: Date: 2024-11-13 01:26:20 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ApInvoiceRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * ApInvoiceRequires active-e Supplier Connections.This endpoint takes AP/Invoices and/or AP ASNs. */ @Route(Path="/ApInvoice", Verbs="POST") @DataContract public static class ApInvoiceRequest extends BaseRequest implements IReturn { @DataMember public String VendorId = null; @DataMember public ArrayList Invoices = null; @DataMember public ArrayList ASNs = null; public String getVendorId() { return VendorId; } public ApInvoiceRequest setVendorId(String value) { this.VendorId = value; return this; } public ArrayList getInvoices() { return Invoices; } public ApInvoiceRequest setInvoices(ArrayList value) { this.Invoices = value; return this; } public ArrayList getAsNs() { return ASNs; } public ApInvoiceRequest setAsNs(ArrayList value) { this.ASNs = value; return this; } private static Object responseType = ApInvoiceResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class ApInvoiceResponse extends BaseResponse { } @DataContract public static class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header") public String ApiKey = null; @DataMember @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") public String OAuthToken = null; public String getApiKey() { return ApiKey; } public BaseRequest setApiKey(String value) { this.ApiKey = value; return this; } public String getOAuthToken() { return OAuthToken; } public BaseRequest setOAuthToken(String value) { this.OAuthToken = value; return this; } } @DataContract public static class ApObject { @DataMember public String Po = null; @DataMember public String Data = null; public String getPo() { return Po; } public ApObject setPo(String value) { this.Po = value; return this; } public String getData() { return Data; } public ApObject setData(String value) { this.Data = value; return this; } } @DataContract public static class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public BaseResponseResult Status = null; public BaseResponseResult getStatus() { return Status; } public BaseResponse setStatus(BaseResponseResult value) { this.Status = value; return this; } } }