Braintree.SubscriptionGateway.Create C# (CSharp) Method

Create() public method

public Create ( SubscriptionRequest request ) : Result
request SubscriptionRequest
return Result
        public virtual Result<Subscription> Create(SubscriptionRequest request)
        {
            XmlNode subscriptionXML = service.Post(service.MerchantPath() + "/subscriptions", request);

            return new ResultImpl<Subscription>(new NodeWrapper(subscriptionXML), gateway);
        }