Ejemplo n.º 1
0
        public Payment NextPayment(GPConnector connector, long IdOfPaidOnDemandPayment, NextPayment nextPayment)
        {
            nextPayment.Items = new List <OrderItem>
            {
                new OrderItem
                {
                    Amount = nextPayment.Amount,
                    Count  = 1,
                    Name   = "Opakovaná platba",
                }
            };

            return(connector.CreateRecurrentPayment(IdOfPaidOnDemandPayment, nextPayment));
        }