module RetainPaymentMethodStubs def successful_retain_response StubResponse.succeeded <<-XML DsmkqsjRvqcMGSCBUUuUiRw8tso 2013-08-05T18:31:51Z 2013-08-05T18:31:51Z true RetainPaymentMethod succeeded Succeeded! RXZDzDGxpqPV7v5ZNVO89n1qtTl 2013-08-05T18:31:51Z 2013-08-05T18:31:51Z perrin@wot.com retained 4444 411111 master Perrin Aybara 1 2019 Acme Perrin Aybara credit_card true ac5579920013cc571e506805f1c8f3220eff XXXX-XXXX-XXXX-4444 XML end def failed_retain_response StubResponse.failed <<-XML 2OLUmdUE7EFIdkb9tTnWyLPkxsF 2013-08-05T18:34:14Z 2013-08-05T18:34:14Z false RetainPaymentMethod failed The payment method has been redacted. Therefore, it cannot be retained. CpurR3zCfGcRC0tqwq9zp4zzIgf 2013-08-05T18:34:13Z 2013-08-05T18:34:14Z perrin@wot.com redacted 4444 411111 master Perrin Aybara 1 2019 Acme Perrin Aybara credit_card true ac5579920013cc571e506805f1c8f3220eff XXXX-XXXX-XXXX-4444 XML end end