TicketUserServices

<back to all web services

MyRecurringPaymentsRequest

Requires Authentication
The following routes are available for this service:
GET/recurringPayments/mine
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class MyRecurringPaymentsRequest
    {
        public String phone = null;
        
        public String getPhone() { return phone; }
        public MyRecurringPaymentsRequest setPhone(String value) { this.phone = value; return this; }
    }

    public static class MyRecurringPaymentsResult
    {
        public ArrayList<RecurringSubscriptionView> items = null;
        public Integer statusCode = null;
        public String message = null;
        
        public ArrayList<RecurringSubscriptionView> getItems() { return items; }
        public MyRecurringPaymentsResult setItems(ArrayList<RecurringSubscriptionView> value) { this.items = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public MyRecurringPaymentsResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public MyRecurringPaymentsResult setMessage(String value) { this.message = value; return this; }
    }

    public static class RecurringSubscriptionView
    {
        public Integer id = null;
        public String status = null;
        public String phoneVerificationNumber = null;
        public Date startDate = null;
        public Date lastPayment = null;
        public Date nextPayment = null;
        public Integer ownerId = null;
        public Integer ownerCardTypeId = null;
        public Integer declinedCounter = null;
        public Integer subscriptionLength = null;
        public Integer monthsPaid = null;
        public Integer monthlyPrice = null;
        public BigDecimal transactionFee = null;
        public String paymentTokenId = null;
        public String panLastFour = null;
        public String expMonth = null;
        public String expYear = null;
        public String mode = null;
        public Integer cardId = null;
        public String initialPaymentDate = null;
        public String initialPaymentAmount = null;
        public String initialPaymentCurrency = null;
        public String initialPaymentStatus = null;
        public Date cancelledAt = null;
        public String cancellationReason = null;
        public Integer priorSubscriptionLength = null;
        public String termsVersion = null;
        public Date termsAcceptedAt = null;
        
        public Integer getId() { return id; }
        public RecurringSubscriptionView setId(Integer value) { this.id = value; return this; }
        public String getStatus() { return status; }
        public RecurringSubscriptionView setStatus(String value) { this.status = value; return this; }
        public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
        public RecurringSubscriptionView setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
        public Date getStartDate() { return startDate; }
        public RecurringSubscriptionView setStartDate(Date value) { this.startDate = value; return this; }
        public Date getLastPayment() { return lastPayment; }
        public RecurringSubscriptionView setLastPayment(Date value) { this.lastPayment = value; return this; }
        public Date getNextPayment() { return nextPayment; }
        public RecurringSubscriptionView setNextPayment(Date value) { this.nextPayment = value; return this; }
        public Integer getOwnerId() { return ownerId; }
        public RecurringSubscriptionView setOwnerId(Integer value) { this.ownerId = value; return this; }
        public Integer getOwnerCardTypeId() { return ownerCardTypeId; }
        public RecurringSubscriptionView setOwnerCardTypeId(Integer value) { this.ownerCardTypeId = value; return this; }
        public Integer getDeclinedCounter() { return declinedCounter; }
        public RecurringSubscriptionView setDeclinedCounter(Integer value) { this.declinedCounter = value; return this; }
        public Integer getSubscriptionLength() { return subscriptionLength; }
        public RecurringSubscriptionView setSubscriptionLength(Integer value) { this.subscriptionLength = value; return this; }
        public Integer getMonthsPaid() { return monthsPaid; }
        public RecurringSubscriptionView setMonthsPaid(Integer value) { this.monthsPaid = value; return this; }
        public Integer getMonthlyPrice() { return monthlyPrice; }
        public RecurringSubscriptionView setMonthlyPrice(Integer value) { this.monthlyPrice = value; return this; }
        public BigDecimal getTransactionFee() { return transactionFee; }
        public RecurringSubscriptionView setTransactionFee(BigDecimal value) { this.transactionFee = value; return this; }
        public String getPaymentTokenId() { return paymentTokenId; }
        public RecurringSubscriptionView setPaymentTokenId(String value) { this.paymentTokenId = value; return this; }
        public String getPanLastFour() { return panLastFour; }
        public RecurringSubscriptionView setPanLastFour(String value) { this.panLastFour = value; return this; }
        public String getExpMonth() { return expMonth; }
        public RecurringSubscriptionView setExpMonth(String value) { this.expMonth = value; return this; }
        public String getExpYear() { return expYear; }
        public RecurringSubscriptionView setExpYear(String value) { this.expYear = value; return this; }
        public String getMode() { return mode; }
        public RecurringSubscriptionView setMode(String value) { this.mode = value; return this; }
        public Integer getCardId() { return cardId; }
        public RecurringSubscriptionView setCardId(Integer value) { this.cardId = value; return this; }
        public String getInitialPaymentDate() { return initialPaymentDate; }
        public RecurringSubscriptionView setInitialPaymentDate(String value) { this.initialPaymentDate = value; return this; }
        public String getInitialPaymentAmount() { return initialPaymentAmount; }
        public RecurringSubscriptionView setInitialPaymentAmount(String value) { this.initialPaymentAmount = value; return this; }
        public String getInitialPaymentCurrency() { return initialPaymentCurrency; }
        public RecurringSubscriptionView setInitialPaymentCurrency(String value) { this.initialPaymentCurrency = value; return this; }
        public String getInitialPaymentStatus() { return initialPaymentStatus; }
        public RecurringSubscriptionView setInitialPaymentStatus(String value) { this.initialPaymentStatus = value; return this; }
        public Date getCancelledAt() { return cancelledAt; }
        public RecurringSubscriptionView setCancelledAt(Date value) { this.cancelledAt = value; return this; }
        public String getCancellationReason() { return cancellationReason; }
        public RecurringSubscriptionView setCancellationReason(String value) { this.cancellationReason = value; return this; }
        public Integer getPriorSubscriptionLength() { return priorSubscriptionLength; }
        public RecurringSubscriptionView setPriorSubscriptionLength(Integer value) { this.priorSubscriptionLength = value; return this; }
        public String getTermsVersion() { return termsVersion; }
        public RecurringSubscriptionView setTermsVersion(String value) { this.termsVersion = value; return this; }
        public Date getTermsAcceptedAt() { return termsAcceptedAt; }
        public RecurringSubscriptionView setTermsAcceptedAt(Date value) { this.termsAcceptedAt = value; return this; }
    }

}

Java MyRecurringPaymentsRequest DTOs

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

HTTP + XML

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

GET /recurringPayments/mine HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MyRecurringPaymentsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Items>
    <RecurringSubscriptionView>
      <CancellationReason>String</CancellationReason>
      <CancelledAt>0001-01-01T00:00:00</CancelledAt>
      <CardId>0</CardId>
      <DeclinedCounter>0</DeclinedCounter>
      <ExpMonth>String</ExpMonth>
      <ExpYear>String</ExpYear>
      <Id>0</Id>
      <InitialPaymentAmount>String</InitialPaymentAmount>
      <InitialPaymentCurrency>String</InitialPaymentCurrency>
      <InitialPaymentDate>String</InitialPaymentDate>
      <InitialPaymentStatus>String</InitialPaymentStatus>
      <LastPayment>0001-01-01T00:00:00</LastPayment>
      <Mode>String</Mode>
      <MonthlyPrice>0</MonthlyPrice>
      <MonthsPaid>0</MonthsPaid>
      <NextPayment>0001-01-01T00:00:00</NextPayment>
      <OwnerCardTypeId>0</OwnerCardTypeId>
      <OwnerId>0</OwnerId>
      <PanLastFour>String</PanLastFour>
      <PaymentTokenId>String</PaymentTokenId>
      <PhoneVerificationNumber>String</PhoneVerificationNumber>
      <PriorSubscriptionLength>0</PriorSubscriptionLength>
      <StartDate>0001-01-01T00:00:00</StartDate>
      <Status>String</Status>
      <SubscriptionLength>0</SubscriptionLength>
      <TermsAcceptedAt>0001-01-01T00:00:00</TermsAcceptedAt>
      <TermsVersion>String</TermsVersion>
      <TransactionFee>0</TransactionFee>
    </RecurringSubscriptionView>
  </Items>
  <Message>String</Message>
  <StatusCode>0</StatusCode>
</MyRecurringPaymentsResult>