Exemple #1
0
        public virtual InitializePaymentRequest WithCustomData(params CustomDataField[] items)
        {
            Ensure.That(items, "items").HasItems();

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

            return(this);
        }
Exemple #2
0
        public virtual InitializePaymentRequest WithCustomData(IEnumerable <CustomDataField> items)
        {
            Ensure.That(items, "items").IsNotNull();

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

            return(this);
        }
Exemple #3
0
        public virtual InitializePaymentRequest ClearCustomData()
        {
            InternalCustomData.Clear();

            return(this);
        }