public async Task AddRecurringPaymentTokens(LiquidObject liquidObject, RecurringPayment recurringPayment) { var liquidRecurringPayment = new LiquidRecurringPayment(recurringPayment); liquidObject.RecurringPayment = liquidRecurringPayment; await _mediator.EntityTokensAdded(recurringPayment, liquidRecurringPayment, liquidObject); }
public void AddRecurringPaymentTokens(LiquidObject liquidObject, RecurringPayment recurringPayment) { var liquidRecurringPayment = new LiquidRecurringPayment(recurringPayment); liquidObject.RecurringPayment = liquidRecurringPayment; _eventPublisher.EntityTokensAdded(recurringPayment, liquidRecurringPayment, liquidObject); }