public virtual CreateOrderRequest WithLineItems(IEnumerable <LineItem> items)
        {
            Ensure.That(items, "items").IsNotNull();

            InternalLineItems.Clear();
            InternalLineItems.AddRange(items);

            return(this);
        }
Exemplo n.º 2
0
        public virtual InitializePaymentRequest WithLineItems(IEnumerable <LineItem> items)
        {
            Ensure.That(items, "items").IsNotNull();

            InternalLineItems.Clear();
            InternalLineItems.AddRange(items);

            return(this);
        }
        public virtual CreateOrderRequest WithLineItems(params LineItem[] items)
        {
            Ensure.That(items, "items").HasItems();

            InternalLineItems.Clear();
            InternalLineItems.AddRange(items);

            return(this);
        }
Exemplo n.º 4
0
        public virtual InitializePaymentRequest WithLineItems(params LineItem[] items)
        {
            Ensure.That(items, "items").HasItems();

            InternalLineItems.Clear();
            InternalLineItems.AddRange(items);

            return(this);
        }
Exemplo n.º 5
0
        public virtual AnnulAuthorizationRequest WithLineItems(params LineItem[] items)
        {
            Ensure.That(items, "items").HasItems();

            InternalLineItems.Clear();
            InternalLineItems.AddRange(items);

            return(this);
        }
Exemplo n.º 6
0
        public virtual AnnulAuthorizationRequest WithLineItems(IEnumerable <LineItem> items)
        {
            Ensure.That(items, "items").IsNotNull();

            InternalLineItems.Clear();
            InternalLineItems.AddRange(items);

            return(this);
        }
        public virtual CreateOrderRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }
Exemplo n.º 8
0
        public virtual RefundPaymentRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }
Exemplo n.º 9
0
        public virtual InitializePaymentRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }
Exemplo n.º 10
0
        public virtual AnnulAuthorizationRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }