Add status PAYMENT_DECLINED.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#---Order Processor Settings---
|
||||
#Sat Jan 29 09:08:26 EST 2011
|
||||
server_parrword=ghHagtj3wfMjx/hHetKlFmvfd9ho54c4
|
||||
#Tue Feb 08 11:33:05 EST 2011
|
||||
database_name=Orders
|
||||
save_password=false
|
||||
server_parrword=3qR0VY2ngKq+4rxX59oRtmHOIBKKLb96
|
||||
save_password=true
|
||||
use_remote_server=true
|
||||
server_location=tcdevsvn1
|
||||
use_remote_server=false
|
||||
server_port_number=3306
|
||||
server_user_name=ricky.barrette
|
||||
|
||||
@@ -47,7 +47,14 @@ public enum Status {
|
||||
/**
|
||||
* A fulfillment status representing that the order is new
|
||||
*/
|
||||
NEW;
|
||||
NEW,
|
||||
|
||||
/**
|
||||
* A financial status representing that the authorization of the customer's credit card failed.
|
||||
* Google has sent an email instructing the customer to update their card.
|
||||
* If they fail to provide a valid card within 7 days, this order will be automatically canceled by Google.
|
||||
*/
|
||||
PAYMENT_DECLINED
|
||||
;
|
||||
|
||||
|
||||
@@ -82,6 +89,9 @@ public enum Status {
|
||||
if(s.equals(NEW.toString()))
|
||||
return NEW;
|
||||
|
||||
if(s.equals(PAYMENT_DECLINED.toString()))
|
||||
return PAYMENT_DECLINED;
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user