public virtual string GetCheckoutRedirectUrl(DwollaCheckoutResponse response) { this.ValidatorFactory.GetValidator <DwollaCheckoutResponse>() .ValidateAndThrow(response); return(CheckoutUrl.Replace("{CheckoutId}", response.CheckoutId)); }
public virtual string GetCheckoutRedirectUrl(DwollaCheckoutResponse response) { this.ValidatorFactory.GetValidator<DwollaCheckoutResponse>() .ValidateAndThrow( response ); return CheckoutUrl.Replace( "{CheckoutId}", response.CheckoutId ); }