Subversion Repositories SmartDukaan

Rev

Rev 23504 | Rev 23585 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23504 Rev 23527
Line 66... Line 66...
66
	private RechargeType type;
66
	private RechargeType type;
67
	
67
	
68
	@Column(name = "amount")
68
	@Column(name = "amount")
69
	private float amount;
69
	private float amount;
70
	
70
	
-
 
71
	@Column(name = "commission")
-
 
72
	private float commission;
-
 
73
	
71
	@Column(name = "status")
74
	@Column(name = "status")
72
	@Enumerated(EnumType.STRING)
75
	@Enumerated(EnumType.STRING)
73
	private RechargeStatus status;
76
	private RechargeStatus status;
74
	
77
	
75
	@Column(name = "status_message")
78
	@Column(name = "status_message")
Line 153... Line 156...
153
	}
156
	}
154
 
157
 
155
	public void setAmount(float amount) {
158
	public void setAmount(float amount) {
156
		this.amount = amount;
159
		this.amount = amount;
157
	}
160
	}
-
 
161
	
-
 
162
	public float getCommission() {
-
 
163
		return commission;
-
 
164
	}
-
 
165
	
-
 
166
	public void setCommission(float commission) {
-
 
167
		this.commission = commission;
-
 
168
	}
158
 
169
 
159
	public RechargeStatus getStatus() {
170
	public RechargeStatus getStatus() {
160
		return status;
171
		return status;
161
	}
172
	}
162
 
173
 
Line 228... Line 239...
228
 
239
 
229
	@Override
240
	@Override
230
	public String toString() {
241
	public String toString() {
231
		return "RechargeTransaction [id=" + id + ", retailerId=" + retailerId + ", requestId=" + requestId
242
		return "RechargeTransaction [id=" + id + ", retailerId=" + retailerId + ", requestId=" + requestId
232
				+ ", providerId=" + providerId + ", operatorId=" + operatorId + ", referenceNumber=" + referenceNumber
243
				+ ", providerId=" + providerId + ", operatorId=" + operatorId + ", referenceNumber=" + referenceNumber
233
				+ ", operatorType=" + operatorType + ", type=" + type + ", amount=" + amount + ", status=" + status
244
				+ ", operatorType=" + operatorType + ", type=" + type + ", amount=" + amount + ", commission="
234
				+ ", statusMessage=" + statusMessage + ", createTimestamp=" + createTimestamp + ", updateTimestamp="
245
				+ commission + ", status=" + status + ", statusMessage=" + statusMessage + ", createTimestamp="
235
				+ updateTimestamp + "]";
246
				+ createTimestamp + ", updateTimestamp=" + updateTimestamp + "]";
236
	}
247
	}
237
        
248
        
238
}
249
}
239
250