public virtual CreateOrderRequest WithLineItems(IEnumerable <LineItem> items) { Ensure.That(items, "items").IsNotNull(); InternalLineItems.Clear(); InternalLineItems.AddRange(items); return(this); }
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); }
public virtual InitializePaymentRequest WithLineItems(params LineItem[] items) { Ensure.That(items, "items").HasItems(); InternalLineItems.Clear(); InternalLineItems.AddRange(items); return(this); }
public virtual AnnulAuthorizationRequest WithLineItems(params LineItem[] items) { Ensure.That(items, "items").HasItems(); InternalLineItems.Clear(); InternalLineItems.AddRange(items); return(this); }
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); }
public virtual RefundPaymentRequest ClearLineItems() { InternalLineItems.Clear(); return(this); }
public virtual InitializePaymentRequest ClearLineItems() { InternalLineItems.Clear(); return(this); }
public virtual AnnulAuthorizationRequest ClearLineItems() { InternalLineItems.Clear(); return(this); }