public void Initialize() { base.Initialize(); interval = Interval.period(1, Interval.TypeUnit.MONTH); this.payment = _paymill.PaymentService.CreateWithTokenAsync(testToken).Result; this.offer1 = _paymill.OfferService.CreateAsync(this.amount, this.currency, this.interval, this.name).Result; this.offer2 = _paymill.OfferService.CreateAsync(this.amount * 2, this.currency, this.interval, "Updated " + this.name).Result; }
public Creator WithPeriodOfValidity(String period) { PeriodOfValidity = new Interval.Period(period); return this; }
public Creator WithPeriodOfValidity(String period) { PeriodOfValidity = new Interval.Period(period); return(this); }
public Creator WithPeriodOfValidity(Interval.Period period) { PeriodOfValidity = period; return this; }
public Creator WithPeriodOfValidity(Interval.Period period) { PeriodOfValidity = period; return(this); }