' Options: 'Date: 2026-07-08 20:26:16 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: PayApplicationDetailRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class PayApplication Public Overridable Property PayApplicationID As Integer Public Overridable Property PayApplicationUID As Guid Public Overridable Property ProjectID As Integer Public Overridable Property PeriodNumber As Integer Public Overridable Property PeriodStart As Date? Public Overridable Property PeriodEnd As Date? Public Overridable Property Status As String Public Overridable Property BillingTemplate As String Public Overridable Property RetainagePct As Decimal Public Overridable Property OriginalContractSum As Decimal Public Overridable Property NetChangeByCO As Decimal Public Overridable Property ContractSumToDate As Decimal Public Overridable Property CompletedStoredToDate As Decimal Public Overridable Property RetainageAmount As Decimal Public Overridable Property EarnedLessRetainage As Decimal Public Overridable Property LessPreviousCertificates As Decimal Public Overridable Property CurrentPaymentDue As Decimal Public Overridable Property BalanceToFinish As Decimal Public Overridable Property InvoiceID As Integer? Public Overridable Property CertifiedAt As Date? Public Overridable Property CertifiedBy As String Public Overridable Property CreatedBy As String Public Overridable Property CreatedAt As Date? Public Overridable Property UpdatedAt As Date? Public Overridable Property Lines As List(Of PayApplicationLine) = New List(Of PayApplicationLine) End Class Public Partial Class PayApplicationDetailRequest Implements IReturn(Of PayApplicationResponse) Public Overridable Property ProjectID As Integer Public Overridable Property PeriodNumber As Integer End Class Public Partial Class PayApplicationLine Public Overridable Property PayApplicationLineID As Integer Public Overridable Property PayApplicationID As Integer Public Overridable Property CostCode As String Public Overridable Property Description As String Public Overridable Property ScheduledValue As Decimal Public Overridable Property FromPreviousPct As Decimal Public Overridable Property ThisPeriodPct As Decimal Public Overridable Property StoredMaterials As Decimal Public Overridable Property IsChangeOrder As Boolean Public Overridable Property ChangeOrderID As Integer? Public Overridable Property SortOrder As Integer End Class Public Partial Class PayApplicationResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Application As PayApplication End Class End Namespace Namespace ServiceStack Public Partial Class ResponseStatus Implements IMeta Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As List(Of ResponseError) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace