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