PHP Class Stripe\Request\Accounts\CreateExternalAccountRequest

Show file Open project: jlinn/stripe-api-php Class Usage Examples

Protected Properties

Property Type Description
$accountHolderType individual or company
$accountNumber string
$country string
$currency string
$name string
$object string
$routingNumber string

Public Methods

Method Description
__construct ( $accountNumber, $country, $currency, string $object = 'bank_account' ) CreateExternalAccountRequest constructor.
getAccountHolderType ( ) : string
getAccountNumber ( ) : string
getCountry ( ) : string
getCurrency ( ) : string
getName ( ) : string
getObject ( ) : string
getRoutingNumber ( ) : string
setAccountHolderType ( string $accountHolderType ) : CreateExternalAccountRequest
setAccountNumber ( string $accountNumber )
setCountry ( string $country )
setCurrency ( string $currency )
setName ( string $name ) : CreateExternalAccountRequest
setObject ( string $object ) : CreateExternalAccountRequest
setRoutingNumber ( string $routingNumber )

Method Details

__construct() public method

CreateExternalAccountRequest constructor.
public __construct ( $accountNumber, $country, $currency, string $object = 'bank_account' )
$accountNumber string Account number
$country string Country of business
$currency string Currency accepted
$object string

getAccountHolderType() public method

public getAccountHolderType ( ) : string
return string

getAccountNumber() public method

public getAccountNumber ( ) : string
return string

getCountry() public method

public getCountry ( ) : string
return string

getCurrency() public method

public getCurrency ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getObject() public method

public getObject ( ) : string
return string

getRoutingNumber() public method

public getRoutingNumber ( ) : string
return string

setAccountHolderType() public method

public setAccountHolderType ( string $accountHolderType ) : CreateExternalAccountRequest
$accountHolderType string
return CreateExternalAccountRequest

setAccountNumber() public method

public setAccountNumber ( string $accountNumber )
$accountNumber string

setCountry() public method

public setCountry ( string $country )
$country string

setCurrency() public method

public setCurrency ( string $currency )
$currency string

setName() public method

public setName ( string $name ) : CreateExternalAccountRequest
$name string
return CreateExternalAccountRequest

setObject() public method

public setObject ( string $object ) : CreateExternalAccountRequest
$object string
return CreateExternalAccountRequest

setRoutingNumber() public method

public setRoutingNumber ( string $routingNumber )
$routingNumber string

Property Details

$accountHolderType protected property

individual or company
protected $accountHolderType

$accountNumber protected property

protected string $accountNumber
return string

$country protected property

protected string $country
return string

$currency protected property

protected string $currency
return string

$name protected property

protected string $name
return string

$object protected property

protected string $object
return string

$routingNumber protected property

protected string $routingNumber
return string