Ejemplo n.º 1
0
        public virtual InitializePaymentRequest WithCustomData(IEnumerable <CustomDataField> items)
        {
            Ensure.That(items, "items").IsNotNull();

            InternalCustomData.Clear();
            InternalCustomData.AddRange(items);

            return(this);
        }
Ejemplo n.º 2
0
        public virtual InitializePaymentRequest WithCustomData(params CustomDataField[] items)
        {
            Ensure.That(items, "items").HasItems();

            InternalCustomData.Clear();
            InternalCustomData.AddRange(items);

            return(this);
        }