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

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

            return(this);
        }
Example #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);
        }
Example #4
0
        public virtual InitializePaymentRequest WithLineItems(params LineItem[] items)
        {
            Ensure.That(items, "items").HasItems();

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

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

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

            return(this);
        }
Example #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);
        }
Example #8
0
        public virtual RefundPaymentRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }
Example #9
0
        public virtual InitializePaymentRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }
Example #10
0
        public virtual AnnulAuthorizationRequest ClearLineItems()
        {
            InternalLineItems.Clear();

            return(this);
        }