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