Example #1
0
 internal Creator(Payment payment, int amount, String currency, Interval.PeriodWithChargeDay interval)
 {
     Payment       = payment;
     Amount        = amount;
     Currency      = currency;
     this.Interval = interval;
 }
Example #2
0
 public Creator WithInterval(String interval)
 {
     Interval = new Interval.PeriodWithChargeDay(interval);
     return(this);
 }
Example #3
0
 public Creator WithInterval(Interval.PeriodWithChargeDay interval)
 {
     Interval = interval;
     return(this);
 }
Example #4
0
 public static Creator Create(String paymentId, int amount, String currency, Interval.PeriodWithChargeDay interval)
 {
     return(new Creator(new Payment(paymentId), amount, currency, interval));
 }