regis

<back to all web services

FinancePayMyTuitionRequest

Requires Authentication
Required permission:CreatePayments
The following routes are available for this service:
POST/Finance/PayMyTuition
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class FinancePayMyTuitionRequest
    {
        public ArrayList<FinancePayMyTuitionPayloadRequest> payload = null;
        public String stamp = null;
        public String hash = null;
        
        public ArrayList<FinancePayMyTuitionPayloadRequest> getPayload() { return payload; }
        public FinancePayMyTuitionRequest setPayload(ArrayList<FinancePayMyTuitionPayloadRequest> value) { this.payload = value; return this; }
        public String getStamp() { return stamp; }
        public FinancePayMyTuitionRequest setStamp(String value) { this.stamp = value; return this; }
        public String getHash() { return hash; }
        public FinancePayMyTuitionRequest setHash(String value) { this.hash = value; return this; }
    }

    public static class FinancePayMyTuitionPayloadRequest
    {
        public String studentGuid = null;
        public String academicPeriodGUID = null;
        public String paymentType = null;
        public String paidOn = null;
        public String comments = null;
        public String amount = null;
        public String currency = null;
        public String id = null;
        public String studentResidenceType = null;
        
        public String getStudentGuid() { return studentGuid; }
        public FinancePayMyTuitionPayloadRequest setStudentGuid(String value) { this.studentGuid = value; return this; }
        public String getAcademicPeriodGUID() { return academicPeriodGUID; }
        public FinancePayMyTuitionPayloadRequest setAcademicPeriodGUID(String value) { this.academicPeriodGUID = value; return this; }
        public String getPaymentType() { return paymentType; }
        public FinancePayMyTuitionPayloadRequest setPaymentType(String value) { this.paymentType = value; return this; }
        public String getPaidOn() { return paidOn; }
        public FinancePayMyTuitionPayloadRequest setPaidOn(String value) { this.paidOn = value; return this; }
        public String getComments() { return comments; }
        public FinancePayMyTuitionPayloadRequest setComments(String value) { this.comments = value; return this; }
        public String getAmount() { return amount; }
        public FinancePayMyTuitionPayloadRequest setAmount(String value) { this.amount = value; return this; }
        public String getCurrency() { return currency; }
        public FinancePayMyTuitionPayloadRequest setCurrency(String value) { this.currency = value; return this; }
        public String getId() { return id; }
        public FinancePayMyTuitionPayloadRequest setId(String value) { this.id = value; return this; }
        public String getStudentResidenceType() { return studentResidenceType; }
        public FinancePayMyTuitionPayloadRequest setStudentResidenceType(String value) { this.studentResidenceType = value; return this; }
    }

    public static class FinancePayStudentAccountByCardResponse
    {
        public ResponseStatus responseStatus = null;
        public Boolean success = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public FinancePayStudentAccountByCardResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
        public Boolean isSuccess() { return success; }
        public FinancePayStudentAccountByCardResponse setSuccess(Boolean value) { this.success = value; return this; }
    }

}

Java FinancePayMyTuitionRequest 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.

POST /Finance/PayMyTuition HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	payload: 
	[
		{
			studentGuid: String,
			academicPeriodGUID: String,
			paymentType: String,
			paidOn: String,
			comments: String,
			amount: String,
			currency: String,
			id: String,
			studentResidenceType: String
		}
	],
	stamp: String,
	hash: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	},
	success: False
}