* Stubs payment info
* @return new Model representing payment info
*/
public static Model stubPaymentInfo() {
final Model m = stubModel(TestEntityType.PAYMENT_INFO, null, false, null);
m.set(new StringPropertyValue("paymentData_bankAccountNo", new PropertyMetadata(PropertyType.STRING, false, false,
16), "0005543"));
m.set(new StringPropertyValue("paymentData_bankName", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"bank name"));
m.set(new StringPropertyValue("paymentData_bankRoutingNo", new PropertyMetadata(PropertyType.STRING, false, false,
16), "77777"));
m.set(new EnumPropertyValue("paymentData_ccType", new PropertyMetadata(PropertyType.ENUM, false, false, 16),
CreditCardType.VISA));
m.set(new StringPropertyValue("paymentData_ccNum", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"4111111111111111"));
m.set(new StringPropertyValue("paymentData_ccCvv2", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"834"));
m.set(new IntPropertyValue("paymentData_ccExpMonth", new PropertyMetadata(PropertyType.INT, false, false, 16), 8));
m
.set(new IntPropertyValue("paymentData_ccExpYear", new PropertyMetadata(PropertyType.INT, false, false, 16),
2012));
m.set(new StringPropertyValue("paymentData_ccName", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"cc name"));
m.set(new StringPropertyValue("paymentData_ccAddress1",
new PropertyMetadata(PropertyType.STRING, false, false, 16), "88 Broadway"));
m.set(new StringPropertyValue("paymentData_ccAddress2",
new PropertyMetadata(PropertyType.STRING, false, false, 16), "#32"));
m.set(new StringPropertyValue("paymentData_ccCity", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"Sacramento"));
m.set(new StringPropertyValue("paymentData_ccState", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"CA"));
m.set(new StringPropertyValue("paymentData_ccZip", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"99885"));
m.set(new StringPropertyValue("paymentData_ccCountry", new PropertyMetadata(PropertyType.STRING, false, false, 16),
"us"));
return m;
}