Exemplo n.º 1
0
        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;

        }
Exemplo n.º 2
0
 public Creator WithPeriodOfValidity(String period)
 {
     PeriodOfValidity = new Interval.Period(period);
     return this;
 }
Exemplo n.º 3
0
 public Creator WithPeriodOfValidity(String period)
 {
     PeriodOfValidity = new Interval.Period(period);
     return(this);
 }
Exemplo n.º 4
0
 public Creator WithPeriodOfValidity(Interval.Period period)
 {
     PeriodOfValidity = period;
     return this;
 }
Exemplo n.º 5
0
 public Creator WithPeriodOfValidity(Interval.Period period)
 {
     PeriodOfValidity = period;
     return(this);
 }