public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\PurchaseOrganizationPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("Thanks for purchasing a subscription to Ship - we hope you enjoy using it!\r\n\r\nDow" +
                         "nload a PDF receipt for your records:\r\n");



            #line 11 "..\..\Views\PurchaseOrganizationPlain.cshtml"
            Write(Model.InvoicePdfUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n# How to manage your account:\r\n\r\nIf you need to change billing or payment inf" +
                         "o, or need to cancel your account, you can do so from within the Ship applicatio" +
                         "n. From the \"Ship\" menu, choose \"Manage Subscription\". Then click \"Manage\" for y" +
                         "our account.\r\n");
        }
Example #2
0
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\CancellationScheduledPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("This is a confirmation that your Ship subscription will cancel on ");



            #line 8 "..\..\Views\CancellationScheduledPlain.cshtml"
            Write(Model.CurrentTermEnd.ToString("MMM d, yyyy"));


            #line default
            #line hidden
            WriteLiteral(".\r\n\r\nThank you for your business.\r\n");
        }
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\PaymentSucceededPersonalPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("We received payment for your personal Ship subscription.\r\n\r\n");



            #line 10 "..\..\Views\PaymentSucceededPersonalPlain.cshtml"
            Write(string.Format("{0:C}", Model.AmountPaid));


            #line default
            #line hidden
            WriteLiteral(" was charged to your ");



            #line 10 "..\..\Views\PaymentSucceededPersonalPlain.cshtml"
            Write(PaymentMethodSummaryPlain(Model.PaymentMethodSummary));


            #line default
            #line hidden
            WriteLiteral(" and covers service through ");



            #line 10 "..\..\Views\PaymentSucceededPersonalPlain.cshtml"
            Write(Model.ServiceThroughDate.ToString("MMM d, yyyy"));


            #line default
            #line hidden
            WriteLiteral(".\r\n\r\nDownload a PDF receipt for your records:\r\n");



            #line 13 "..\..\Views\PaymentSucceededPersonalPlain.cshtml"
            Write(Model.InvoicePdfUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n\r\nWe appreciate your business!\r\n");
        }
Example #4
0
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\PaymentRefundedPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("We\'ve issued a refund for ");



            #line 8 "..\..\Views\PaymentRefundedPlain.cshtml"
            Write(string.Format("{0:C}", Model.AmountRefunded));


            #line default
            #line hidden
            WriteLiteral(" to your ");



            #line 8 "..\..\Views\PaymentRefundedPlain.cshtml"
            Write(PaymentMethodSummaryPlain(Model.PaymentMethodSummary));


            #line default
            #line hidden
            WriteLiteral(".\r\n\r\nDownload a PDF receipt for this transaction:\r\n");



            #line 11 "..\..\Views\PaymentRefundedPlain.cshtml"
            Write(Model.CreditNotePdfUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n\r\nThanks for your business!\r\n");
        }
Example #5
0
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("We received payment for your organization Ship subscription.\r\n\r\n");



            #line 10 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(string.Format("{0:C}", Model.AmountPaid));


            #line default
            #line hidden
            WriteLiteral(" was charged to your ");



            #line 10 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(PaymentMethodSummaryPlain(Model.PaymentMethodSummary));


            #line default
            #line hidden
            WriteLiteral(" and covers service through ");



            #line 10 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(Model.ServiceThroughDate.ToString("MMM d, yyyy"));


            #line default
            #line hidden
            WriteLiteral(".\r\n\r\nDownload a PDF receipt for your records:\r\n");



            #line 13 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(Model.InvoicePdfUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n\r\nIn the prior month beginning on ");



            #line 15 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(Model.PreviousMonthStart.ToString("MMM d, yyyy"));


            #line default
            #line hidden
            WriteLiteral(", your organization had ");



            #line 15 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(Model.PreviousMonthActiveUsersCount);


            #line default
            #line hidden
            WriteLiteral(" active Ship user");



            #line 15 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            Write(Model.PreviousMonthActiveUsersCount == 1 ? "" : "s");


            #line default
            #line hidden
            WriteLiteral(".\r\n\r\n");



            #line 17 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            if (Model.PreviousMonthActiveUsersCount > 1)
            {
            #line default
            #line hidden
                WriteLiteral("The base monthly fee (paid as part of your last invoice) covers the first active " +
                             "Ship user, so you were billed for ");



            #line 18 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                Write(Model.PreviousMonthActiveUsersCount - 1);


            #line default
            #line hidden
                WriteLiteral(" additional active user");



            #line 18 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                Write((Model.PreviousMonthActiveUsersCount - 1) == 1 ? "" : "s");


            #line default
            #line hidden
                WriteLiteral(" on this invoice.\r\n");

                WriteLiteral("\r\n");



            #line 20 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            }


            #line default
            #line hidden


            #line 21 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
            if (Model.PreviousMonthActiveUsersCount > 0)
            {
                if (Model.PreviousMonthActiveUsersCount == Model.PreviousMonthActiveUsersSample.Count())
                {
            #line default
            #line hidden
                    WriteLiteral("Active Ship users in your organization in the prior month were: ");



            #line 23 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                    Write(string.Join(", ", Model.PreviousMonthActiveUsersSample));


            #line default
            #line hidden
                    WriteLiteral(".\r\n");

                    WriteLiteral("\r\n");



            #line 25 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                }
                else
                {
            #line default
            #line hidden
                    WriteLiteral("Active Ship users in your organization in the prior month included: ");



            #line 26 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                    Write(string.Join(", ", Model.PreviousMonthActiveUsersSample));


            #line default
            #line hidden
                    WriteLiteral(", and ");



            #line 26 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                    Write(Model.PreviousMonthActiveUsersCount - Model.PreviousMonthActiveUsersSample.Count());


            #line default
            #line hidden
                    WriteLiteral(" others.\r\n");

                    WriteLiteral("\r\n");



            #line 28 "..\..\Views\PaymentSucceededOrganizationPlain.cshtml"
                }
            }


            #line default
            #line hidden
            WriteLiteral("We appreciate your business!\r\n");
        }
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\PaymentFailedPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("We tried to process a charge for ");



            #line 8 "..\..\Views\PaymentFailedPlain.cshtml"
            Write(string.Format("{0:C}", Model.Amount));


            #line default
            #line hidden
            WriteLiteral(" to your ");



            #line 8 "..\..\Views\PaymentFailedPlain.cshtml"
            Write(PaymentMethodSummaryPlain(Model.PaymentMethodSummary));


            #line default
            #line hidden
            WriteLiteral(", but the transaction failed.\r\n\r\nReason: ");



            #line 10 "..\..\Views\PaymentFailedPlain.cshtml"
            Write(Model.ErrorText);


            #line default
            #line hidden
            WriteLiteral("\r\n\r\nDownload a PDF invoice for this transaction:\r\n");



            #line 13 "..\..\Views\PaymentFailedPlain.cshtml"
            Write(Model.InvoicePdfUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n");



            #line 15 "..\..\Views\PaymentFailedPlain.cshtml"
            if (Model.NextRetryDate != null)
            {
            #line default
            #line hidden
                WriteLiteral("We\'ll automatically retry this charge on ");



            #line 16 "..\..\Views\PaymentFailedPlain.cshtml"
                Write(Model.NextRetryDate.Value.ToString("MMM d, yyyy"));


            #line default
            #line hidden
                WriteLiteral(".  If you need to update your payment information, follow the link below.\r\n\r\nLink" +
                             ": ");



            #line 18 "..\..\Views\PaymentFailedPlain.cshtml"
                Write(Model.UpdatePaymentMethodUrl);


            #line default
            #line hidden
                WriteLiteral("\r\n");



            #line 19 "..\..\Views\PaymentFailedPlain.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral(@"We've failed to process this charge a few times now, so we'll go ahead and cancel your subscription.

If you want to re-activate your subscription later, you can do so from the Ship application.  From the ""Ship"" menu, choose ""Manage Subscription"".  Then click ""Buy"" for your account.");

                WriteLiteral("\r\n");



            #line 23 "..\..\Views\PaymentFailedPlain.cshtml"
            }


            #line default
            #line hidden
        }
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 3 "..\..\Views\PurchasePersonalPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("Thanks for purchasing a subscription to Ship - we hope you enjoy using it!\r\n\r\nDow" +
                         "nload a PDF receipt for your records:\r\n");



            #line 9 "..\..\Views\PurchasePersonalPlain.cshtml"
            Write(Model.InvoicePdfUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n");



            #line 10 "..\..\Views\PurchasePersonalPlain.cshtml"
            if (Model.WasGivenTrialCredit)
            {
            #line default
            #line hidden
                WriteLiteral("\r\nA discount was applied to your first invoice because you still had some time re" +
                             "maining on your free trial.  Next month you\'ll see the regular price of $5/month" +
                             ".\r\n");



            #line 13 "..\..\Views\PurchasePersonalPlain.cshtml"
            }


            #line default
            #line hidden


            #line 14 "..\..\Views\PurchasePersonalPlain.cshtml"
            if (Model.BelongsToOrganization)
            {
            #line default
            #line hidden
                WriteLiteral("\r\n# Want to use Ship for free?\r\n\r\nYour personal Ship subscription is free as long" +
                             " as you belong to an organization that subscribes to Ship.  Ask your organizatio" +
                             "n to sign up.\r\n");

                WriteLiteral("\r\n");



            #line 20 "..\..\Views\PurchasePersonalPlain.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("# How to manage your account:\r\n\r\nIf you need to change billing or payment info, o" +
                         "r need to cancel your account, you can do so from within the Ship application. F" +
                         "rom the \"Ship\" menu, choose \"Manage Subscription\". Then click \"Manage\" for your " +
                         "account.\r\n");
        }
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 5 "..\..\Views\CardExpiryReminderPlain.cshtml"

            Layout = new RealArtists.ShipHub.Mail.Views.LayoutPlain()
            {
                Model = Model
            };



            #line default
            #line hidden
            WriteLiteral("Your credit card ending in \"");



            #line 8 "..\..\Views\CardExpiryReminderPlain.cshtml"
            Write(Model.LastCardDigits);


            #line default
            #line hidden
            WriteLiteral("\" ");



            #line 8 "..\..\Views\CardExpiryReminderPlain.cshtml"
            Write(Model.AlreadyExpired ? "expired on" : "will expire on");


            #line default
            #line hidden
            WriteLiteral(" \"");



            #line 8 "..\..\Views\CardExpiryReminderPlain.cshtml"
            Write(Model.ExpiryMonth);


            #line default
            #line hidden
            WriteLiteral("/");



            #line 8 "..\..\Views\CardExpiryReminderPlain.cshtml"
            Write(Model.ExpiryYear);


            #line default
            #line hidden
            WriteLiteral("\".\r\n\r\nTo prevent any interruption in your Ship service, please update your paymen" +
                         "t information using the link below.\r\n\r\nLink: ");



            #line 12 "..\..\Views\CardExpiryReminderPlain.cshtml"
            Write(Model.UpdatePaymentMethodUrl);


            #line default
            #line hidden
            WriteLiteral("\r\n");
        }