java.lang.Object |
↳ |
com.wsl.modules.stripe.complextypes.Source |
Class Overview
Source represents the inputs for a source type.
Datamapper seems to have trouble interpreting the native Stripe types, so this removes the extraneous overhead to simplify.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
private
String
addressCity
private
String
addressCountry
private
String
addressLine1
private
String
addressLine2
private
String
addressState
private
String
addressZip
Public Constructors
Public Methods
public
String
getAddressCity
()
public
String
getAddressCountry
()
public
String
getAddressLine1
()
public
String
getAddressLine2
()
public
String
getAddressState
()
public
String
getAddressZip
()
public
String
getExpMonth
()
public
String
getExpYear
()
public
String
getNumber
()
public
void
setAddressCity
(String addressCity)
Parameters
addressCity
| The addressCity to set
|
public
void
setAddressCountry
(String addressCountry)
Parameters
addressCountry
| The addressCountry to set
|
public
void
setAddressLine1
(String addressLine1)
Parameters
addressLine1
| The addressLine1 to set
|
public
void
setAddressLine2
(String addressLine2)
Parameters
addressLine2
| The addressLine2 to set
|
public
void
setAddressState
(String addressState)
Parameters
addressState
| The addressState to set
|
public
void
setAddressZip
(String addressZip)
Parameters
addressZip
| The addressZip to set
|
public
void
setCvc
(String cvc)
public
void
setExpMonth
(String expMonth)
Parameters
expMonth
| The expMonth to set
|
public
void
setExpYear
(String expYear)
Parameters
expYear
| The expYear to set
|
public
void
setName
(String name)
public
void
setNumber
(String number)
public
Map<String, Object>
toDictionary
()
Turns the object into a Stripe API-compliant dictionary with the correct values.
Returns
- A map that represents the JSON dictionary.