/// <summary> /// Clears the cache with a subscription is updated /// </summary> /// <param name="sender"> /// The sender. /// </param> /// <param name="saveEventArgs"> /// The save event args. /// </param> private static void BraintreeSubscriptionApiServiceOnUpdated(BraintreeSubscriptionApiService sender, SaveEventArgs<Subscription> saveEventArgs) { ClearBraintreeCache(); }
/// <summary> /// The braintree subscription api service on created. /// </summary> /// <param name="sender"> /// The sender. /// </param> /// <param name="newEventArgs"> /// The new event args. /// </param> private static void BraintreeSubscriptionApiServiceOnCreated(BraintreeSubscriptionApiService sender, Core.Events.NewEventArgs<Subscription> newEventArgs) { ClearBraintreeCache(); }