-
Notifications
You must be signed in to change notification settings - Fork 10
/
StripeResponseModel.cls
31 lines (27 loc) · 1.03 KB
/
StripeResponseModel.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
@Name : StripeResponseModel
@Author : Aslam Bari/Sanjay Mankani (http://www.aslambari.com/stripe_apex_toolkit.html)
@Date : 6 Oct, 2011
@Description : This class contains variables for gathering information contained in response from Stripe.
*/
public class StripeResponseModel{
public string id {get;set;}
public string rObject{get;set;}
public string amount {get;set;}
public string paid {get;set;}
public String curency{get;set;}
public string fee {get;set;}
public string created {get;set;}
public string livemode {get;set;}
public string description {get;set;}
public string refunded {get;set;}
public boolean isError {get;set;}
public String name{get;set;}
public String interval{get;set;}
public StripeCardResponseModel card {get;set;}
public StripeErrorModel errorResponse {get;set;}
public StripeResponseModel(){
card=new StripeCardResponseModel();
errorResponse=new StripeErrorModel();
}
}