public class

BankAccount

extends Object
implements Serializable
java.lang.Object
   ↳ com.wsl.modules.stripe.complextypes.BankAccount

Class Overview

Represents a Bank Account input in Stripe

Summary

Fields
private String accountNumber
private String country
private String currency
private String routingNumber
Public Constructors
BankAccount()
Public Methods
String getAccountNumber()
String getCountry()
String getCurrency()
String getRoutingNumber()
void setAccountNumber(String accountNumber)
void setCountry(String country)
void setCurrency(String currency)
void setRoutingNumber(String routingNumber)
Map<String, Object> toDictionary()
Turns the object into a Stripe API-compliant dictionary with the correct values.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private String accountNumber

private String country

private String currency

private String routingNumber

Public Constructors

public BankAccount ()

Public Methods

public String getAccountNumber ()

Returns
  • the accountNumber

public String getCountry ()

Returns
  • the country

public String getCurrency ()

Returns
  • the currency

public String getRoutingNumber ()

Returns
  • the routingNumber

public void setAccountNumber (String accountNumber)

Parameters
accountNumber The accountNumber to set

public void setCountry (String country)

Parameters
country The country to set

public void setCurrency (String currency)

Parameters
currency The currency to set

public void setRoutingNumber (String routingNumber)

Parameters
routingNumber The routingNumber to set

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.