digitaluapi

<back to all web services

PaymentPlansLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/payment_plans
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class PaymentPlansLookup
    {
        @DataMember(Order=2)
        public Integer TenantsId = null;

        @DataMember(Order=3)
        public Long ActionsId = null;

        @DataMember(Order=4)
        public Date Date = null;

        @DataMember(Order=5)
        public Integer MaxMonths = null;

        @DataMember(Order=6)
        public Double DiscountAmount = null;

        @DataMember(Order=7)
        public Integer DiscountCurrenciesId = null;

        @DataMember(Order=8)
        public Long StatusCodesId = null;
        
        public Integer getTenantsId() { return TenantsId; }
        public PaymentPlansLookup setTenantsId(Integer value) { this.TenantsId = value; return this; }
        public Long getActionsId() { return ActionsId; }
        public PaymentPlansLookup setActionsId(Long value) { this.ActionsId = value; return this; }
        public Date getDate() { return Date; }
        public PaymentPlansLookup setDate(Date value) { this.Date = value; return this; }
        public Integer getMaxMonths() { return MaxMonths; }
        public PaymentPlansLookup setMaxMonths(Integer value) { this.MaxMonths = value; return this; }
        public Double getDiscountAmount() { return DiscountAmount; }
        public PaymentPlansLookup setDiscountAmount(Double value) { this.DiscountAmount = value; return this; }
        public Integer getDiscountCurrenciesId() { return DiscountCurrenciesId; }
        public PaymentPlansLookup setDiscountCurrenciesId(Integer value) { this.DiscountCurrenciesId = value; return this; }
        public Long getStatusCodesId() { return StatusCodesId; }
        public PaymentPlansLookup setStatusCodesId(Long value) { this.StatusCodesId = value; return this; }
    }

}

Java PaymentPlansLookup DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /payment_plans HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		TenantsId: 0,
		ActionsId: 0,
		Date: 0001-01-01,
		MaxMonths: 0,
		DiscountAmount: 0,
		DiscountCurrenciesId: 0,
		StatusCodesId: 0,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]