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

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

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

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

            return(this);
        }