Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (25 sloc) 0.911 kb
using System;
namespace GoCardlessSdk.Connect
{
public class SubscriptionRequest
{
public SubscriptionRequest(string merchantId, decimal amount, int intervalLength, string intervalUnit)
{
Amount = amount;
MerchantId = merchantId;
IntervalLength = intervalLength;
IntervalUnit = intervalUnit;
}
public decimal Amount { get; set; }
public string MerchantId { get; set; }
public int IntervalLength { get; set; }
public string IntervalUnit { get; set; }
public DateTimeOffset? StartAt { get; set; }
public DateTimeOffset? ExpiresAt { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int? IntervalCount { get; set; }
public decimal? SetupFee { get; set; }
public UserRequest User { get; set; }
}
}
Jump to Line
Something went wrong with that request. Please try again.