PHP 클래스 Stripe\Stripe

파일 보기 프로젝트 열기: stripe/stripe-php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$accountId @var string|null The account ID for connected accounts requests.
$apiBase @var string The base URL for the Stripe API.
$apiKey @var string The Stripe API key to be used for requests.
$apiUploadBase @var string The base URL for the Stripe API uploads endpoint.
$apiVersion @var string|null The version of the Stripe API to use for requests.
$appInfo @var array The application's information (name, version, URL)
$verifySslCerts @var boolean Defaults to true.

공개 메소드들

메소드 설명
getAccountId ( ) : string | null
getApiKey ( ) : string
getApiVersion ( ) : string
getAppInfo ( ) : array | null
getVerifySslCerts ( ) : boolean
setAccountId ( string $accountId )
setApiKey ( string $apiKey ) Sets the API key to be used for requests.
setApiVersion ( string $apiVersion )
setAppInfo ( string $appName, string $appVersion = null, string $appUrl = null )
setVerifySslCerts ( boolean $verify )

메소드 상세

getAccountId() 공개 정적인 메소드

public static getAccountId ( ) : string | null
리턴 string | null | null The Stripe account ID for connected account requests.

getApiKey() 공개 정적인 메소드

public static getApiKey ( ) : string
리턴 string The API key used for requests.

getApiVersion() 공개 정적인 메소드

public static getApiVersion ( ) : string
리턴 string The API version used for requests. null if we're using the latest version.

getAppInfo() 공개 정적인 메소드

public static getAppInfo ( ) : array | null
리턴 array | null | null The application's information

getVerifySslCerts() 공개 정적인 메소드

public static getVerifySslCerts ( ) : boolean
리턴 boolean

setAccountId() 공개 정적인 메소드

public static setAccountId ( string $accountId )
$accountId string The Stripe account ID to set for connected account requests.

setApiKey() 공개 정적인 메소드

Sets the API key to be used for requests.
public static setApiKey ( string $apiKey )
$apiKey string

setApiVersion() 공개 정적인 메소드

public static setApiVersion ( string $apiVersion )
$apiVersion string The API version to use for requests.

setAppInfo() 공개 정적인 메소드

public static setAppInfo ( string $appName, string $appVersion = null, string $appUrl = null )
$appName string The application's name
$appVersion string The application's version
$appUrl string The application's URL

setVerifySslCerts() 공개 정적인 메소드

public static setVerifySslCerts ( boolean $verify )
$verify boolean

프로퍼티 상세

$accountId 공개적으로 정적으로 프로퍼티

@var string|null The account ID for connected accounts requests.
public static $accountId

$apiBase 공개적으로 정적으로 프로퍼티

@var string The base URL for the Stripe API.
public static $apiBase

$apiKey 공개적으로 정적으로 프로퍼티

@var string The Stripe API key to be used for requests.
public static $apiKey

$apiUploadBase 공개적으로 정적으로 프로퍼티

@var string The base URL for the Stripe API uploads endpoint.
public static $apiUploadBase

$apiVersion 공개적으로 정적으로 프로퍼티

@var string|null The version of the Stripe API to use for requests.
public static $apiVersion

$appInfo 공개적으로 정적으로 프로퍼티

@var array The application's information (name, version, URL)
public static $appInfo

$verifySslCerts 공개적으로 정적으로 프로퍼티

@var boolean Defaults to true.
public static $verifySslCerts