/* Options: Date: 2025-04-10 15:21:27 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateVossInvoiceConfigurations.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/voss/invoiceConfigurations", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) public static class UpdateVossInvoiceConfigurations extends UpdateInvoiceConfigurationsRequest { } public static enum IntermediaryPlacementEnum { None(1), IncludeIn21StColumn(2), IncludeIn7ThColumn(3); private final int value; IntermediaryPlacementEnum(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum AccrualCodeFormatEnum { Default(1), Dutch(2); private final int value; AccrualCodeFormatEnum(final int intValue) { value = intValue; } public int getValue() { return value; } } @DataContract(Name="TimeLengthRequestDto") public static class TimeLengthRequestDto { @DataMember(Name="unit", IsRequired=true) @SerializedName("unit") public UnitEnum Unit = null; @DataMember(Name="value", IsRequired=true) @SerializedName("value") public Integer Value = null; public UnitEnum getUnit() { return Unit; } public TimeLengthRequestDto setUnit(UnitEnum value) { this.Unit = value; return this; } public Integer getValue() { return Value; } public TimeLengthRequestDto setValue(Integer value) { this.Value = value; return this; } } @DataContract(Name="UpdateInvoiceConfigurationsRequest") public static class UpdateInvoiceConfigurationsRequest { @DataMember(Name="intermediaryPlacement", IsRequired=true) @SerializedName("intermediaryPlacement") public IntermediaryPlacementEnum IntermediaryPlacement = null; @DataMember(Name="accrualCodeFormat", IsRequired=true) @SerializedName("accrualCodeFormat") public AccrualCodeFormatEnum AccrualCodeFormat = null; @DataMember(Name="dateFormat", IsRequired=true) @SerializedName("dateFormat") public String DateFormat = null; @DataMember(Name="delimiter", IsRequired=true) @SerializedName("delimiter") public String Delimiter = null; @DataMember(Name="decimalSeparator", IsRequired=true) @SerializedName("decimalSeparator") public String DecimalSeparator = null; @DataMember(Name="orderCreatorCode", IsRequired=true) @SerializedName("orderCreatorCode") public String OrderCreatorCode = null; @DataMember(Name="salesPersonId", IsRequired=true) @SerializedName("salesPersonId") public String SalesPersonId = null; @DataMember(Name="salesDepartmentId", IsRequired=true) @SerializedName("salesDepartmentId") public String SalesDepartmentId = null; @DataMember(Name="includeBillingPeriodDates") @SerializedName("includeBillingPeriodDates") public Boolean IncludeBillingPeriodDates = null; @DataMember(Name="trackInvoicePayments") @SerializedName("trackInvoicePayments") public Boolean TrackInvoicePayments = null; @DataMember(Name="includeInvoicedCustomerDetails") @SerializedName("includeInvoicedCustomerDetails") public Boolean IncludeInvoicedCustomerDetails = null; @DataMember(Name="billingPeriodTextFormat", IsRequired=true) @SerializedName("billingPeriodTextFormat") public String BillingPeriodTextFormat = null; @DataMember(Name="customerFooterText") @SerializedName("customerFooterText") public String CustomerFooterText = null; @DataMember(Name="addEmptyLineBeforeCustomerFooter") @SerializedName("addEmptyLineBeforeCustomerFooter") public Boolean AddEmptyLineBeforeCustomerFooter = null; @DataMember(Name="includeOnlyDefaultSalesPersonAndDepartment") @SerializedName("includeOnlyDefaultSalesPersonAndDepartment") public Boolean IncludeOnlyDefaultSalesPersonAndDepartment = null; @DataMember(Name="includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer") @SerializedName("includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer") public Boolean IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer = null; @DataMember(Name="transactionGroup", IsRequired=true) @SerializedName("transactionGroup") public String TransactionGroup = null; @DataMember(Name="invoiceArbitraryNumber", IsRequired=true) @SerializedName("invoiceArbitraryNumber") public String InvoiceArbitraryNumber = null; @DataMember(Name="deliveryMethod", IsRequired=true) @SerializedName("deliveryMethod") public String DeliveryMethod = null; @DataMember(Name="deliveryConditions", IsRequired=true) @SerializedName("deliveryConditions") public String DeliveryConditions = null; @DataMember(Name="orderType", IsRequired=true) @SerializedName("orderType") public String OrderType = null; @DataMember(Name="invoiceStatus", IsRequired=true) @SerializedName("invoiceStatus") public String InvoiceStatus = null; @DataMember(Name="useProductGroupRevenueRecognition") @SerializedName("useProductGroupRevenueRecognition") public Boolean UseProductGroupRevenueRecognition = null; @DataMember(Name="productGroupLineExcludePrint", IsRequired=true) @SerializedName("productGroupLineExcludePrint") public String ProductGroupLineExcludePrint = null; @DataMember(Name="productGroupLineEditPreferences", IsRequired=true) @SerializedName("productGroupLineEditPreferences") public String ProductGroupLineEditPreferences = null; @DataMember(Name="productLineExcludePrint", IsRequired=true) @SerializedName("productLineExcludePrint") public String ProductLineExcludePrint = null; @DataMember(Name="useDiscountedPrices") @SerializedName("useDiscountedPrices") public Boolean UseDiscountedPrices = null; @DataMember(Name="terminateUnpaidSubscriptions") @SerializedName("terminateUnpaidSubscriptions") public Boolean TerminateUnpaidSubscriptions = null; @DataMember(Name="allowedUnpaidAmountLimit", EmitDefaultValue=false) @SerializedName("allowedUnpaidAmountLimit") public Double AllowedUnpaidAmountLimit = null; @DataMember(Name="allowedPaymentOverdue") @SerializedName("allowedPaymentOverdue") public TimeLengthRequestDto AllowedPaymentOverdue = null; @DataMember(Name="unpaidSubscriptionTerminationReasonId") @SerializedName("unpaidSubscriptionTerminationReasonId") public UUID UnpaidSubscriptionTerminationReasonId = null; @DataMember(Name="unpaidSubscriptionTerminationComment") @SerializedName("unpaidSubscriptionTerminationComment") public String UnpaidSubscriptionTerminationComment = null; @DataMember(Name="creditInvoiceNumberReferenceTextFormat") @SerializedName("creditInvoiceNumberReferenceTextFormat") public String CreditInvoiceNumberReferenceTextFormat = null; public IntermediaryPlacementEnum getIntermediaryPlacement() { return IntermediaryPlacement; } public UpdateInvoiceConfigurationsRequest setIntermediaryPlacement(IntermediaryPlacementEnum value) { this.IntermediaryPlacement = value; return this; } public AccrualCodeFormatEnum getAccrualCodeFormat() { return AccrualCodeFormat; } public UpdateInvoiceConfigurationsRequest setAccrualCodeFormat(AccrualCodeFormatEnum value) { this.AccrualCodeFormat = value; return this; } public String getDateFormat() { return DateFormat; } public UpdateInvoiceConfigurationsRequest setDateFormat(String value) { this.DateFormat = value; return this; } public String getDelimiter() { return Delimiter; } public UpdateInvoiceConfigurationsRequest setDelimiter(String value) { this.Delimiter = value; return this; } public String getDecimalSeparator() { return DecimalSeparator; } public UpdateInvoiceConfigurationsRequest setDecimalSeparator(String value) { this.DecimalSeparator = value; return this; } public String getOrderCreatorCode() { return OrderCreatorCode; } public UpdateInvoiceConfigurationsRequest setOrderCreatorCode(String value) { this.OrderCreatorCode = value; return this; } public String getSalesPersonId() { return SalesPersonId; } public UpdateInvoiceConfigurationsRequest setSalesPersonId(String value) { this.SalesPersonId = value; return this; } public String getSalesDepartmentId() { return SalesDepartmentId; } public UpdateInvoiceConfigurationsRequest setSalesDepartmentId(String value) { this.SalesDepartmentId = value; return this; } public Boolean isIncludeBillingPeriodDates() { return IncludeBillingPeriodDates; } public UpdateInvoiceConfigurationsRequest setIncludeBillingPeriodDates(Boolean value) { this.IncludeBillingPeriodDates = value; return this; } public Boolean isTrackInvoicePayments() { return TrackInvoicePayments; } public UpdateInvoiceConfigurationsRequest setTrackInvoicePayments(Boolean value) { this.TrackInvoicePayments = value; return this; } public Boolean isIncludeInvoicedCustomerDetails() { return IncludeInvoicedCustomerDetails; } public UpdateInvoiceConfigurationsRequest setIncludeInvoicedCustomerDetails(Boolean value) { this.IncludeInvoicedCustomerDetails = value; return this; } public String getBillingPeriodTextFormat() { return BillingPeriodTextFormat; } public UpdateInvoiceConfigurationsRequest setBillingPeriodTextFormat(String value) { this.BillingPeriodTextFormat = value; return this; } public String getCustomerFooterText() { return CustomerFooterText; } public UpdateInvoiceConfigurationsRequest setCustomerFooterText(String value) { this.CustomerFooterText = value; return this; } public Boolean isAddEmptyLineBeforeCustomerFooter() { return AddEmptyLineBeforeCustomerFooter; } public UpdateInvoiceConfigurationsRequest setAddEmptyLineBeforeCustomerFooter(Boolean value) { this.AddEmptyLineBeforeCustomerFooter = value; return this; } public Boolean isIncludeOnlyDefaultSalesPersonAndDepartment() { return IncludeOnlyDefaultSalesPersonAndDepartment; } public UpdateInvoiceConfigurationsRequest setIncludeOnlyDefaultSalesPersonAndDepartment(Boolean value) { this.IncludeOnlyDefaultSalesPersonAndDepartment = value; return this; } public Boolean isIncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer() { return IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer; } public UpdateInvoiceConfigurationsRequest setIncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer(Boolean value) { this.IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer = value; return this; } public String getTransactionGroup() { return TransactionGroup; } public UpdateInvoiceConfigurationsRequest setTransactionGroup(String value) { this.TransactionGroup = value; return this; } public String getInvoiceArbitraryNumber() { return InvoiceArbitraryNumber; } public UpdateInvoiceConfigurationsRequest setInvoiceArbitraryNumber(String value) { this.InvoiceArbitraryNumber = value; return this; } public String getDeliveryMethod() { return DeliveryMethod; } public UpdateInvoiceConfigurationsRequest setDeliveryMethod(String value) { this.DeliveryMethod = value; return this; } public String getDeliveryConditions() { return DeliveryConditions; } public UpdateInvoiceConfigurationsRequest setDeliveryConditions(String value) { this.DeliveryConditions = value; return this; } public String getOrderType() { return OrderType; } public UpdateInvoiceConfigurationsRequest setOrderType(String value) { this.OrderType = value; return this; } public String getInvoiceStatus() { return InvoiceStatus; } public UpdateInvoiceConfigurationsRequest setInvoiceStatus(String value) { this.InvoiceStatus = value; return this; } public Boolean isUseProductGroupRevenueRecognition() { return UseProductGroupRevenueRecognition; } public UpdateInvoiceConfigurationsRequest setUseProductGroupRevenueRecognition(Boolean value) { this.UseProductGroupRevenueRecognition = value; return this; } public String getProductGroupLineExcludePrint() { return ProductGroupLineExcludePrint; } public UpdateInvoiceConfigurationsRequest setProductGroupLineExcludePrint(String value) { this.ProductGroupLineExcludePrint = value; return this; } public String getProductGroupLineEditPreferences() { return ProductGroupLineEditPreferences; } public UpdateInvoiceConfigurationsRequest setProductGroupLineEditPreferences(String value) { this.ProductGroupLineEditPreferences = value; return this; } public String getProductLineExcludePrint() { return ProductLineExcludePrint; } public UpdateInvoiceConfigurationsRequest setProductLineExcludePrint(String value) { this.ProductLineExcludePrint = value; return this; } public Boolean isUseDiscountedPrices() { return UseDiscountedPrices; } public UpdateInvoiceConfigurationsRequest setUseDiscountedPrices(Boolean value) { this.UseDiscountedPrices = value; return this; } public Boolean isTerminateUnpaidSubscriptions() { return TerminateUnpaidSubscriptions; } public UpdateInvoiceConfigurationsRequest setTerminateUnpaidSubscriptions(Boolean value) { this.TerminateUnpaidSubscriptions = value; return this; } public Double getAllowedUnpaidAmountLimit() { return AllowedUnpaidAmountLimit; } public UpdateInvoiceConfigurationsRequest setAllowedUnpaidAmountLimit(Double value) { this.AllowedUnpaidAmountLimit = value; return this; } public TimeLengthRequestDto getAllowedPaymentOverdue() { return AllowedPaymentOverdue; } public UpdateInvoiceConfigurationsRequest setAllowedPaymentOverdue(TimeLengthRequestDto value) { this.AllowedPaymentOverdue = value; return this; } public UUID getUnpaidSubscriptionTerminationReasonId() { return UnpaidSubscriptionTerminationReasonId; } public UpdateInvoiceConfigurationsRequest setUnpaidSubscriptionTerminationReasonId(UUID value) { this.UnpaidSubscriptionTerminationReasonId = value; return this; } public String getUnpaidSubscriptionTerminationComment() { return UnpaidSubscriptionTerminationComment; } public UpdateInvoiceConfigurationsRequest setUnpaidSubscriptionTerminationComment(String value) { this.UnpaidSubscriptionTerminationComment = value; return this; } public String getCreditInvoiceNumberReferenceTextFormat() { return CreditInvoiceNumberReferenceTextFormat; } public UpdateInvoiceConfigurationsRequest setCreditInvoiceNumberReferenceTextFormat(String value) { this.CreditInvoiceNumberReferenceTextFormat = value; return this; } } public static enum UnitEnum { Day(1), Month(2), Year(3); private final int value; UnitEnum(final int intValue) { value = intValue; } public int getValue() { return value; } } }