Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100564579
Plan.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 31, 19:03
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Feb 2, 19:03 (2 d)
Engine
blob
Format
Raw Data
Handle
23975651
Attached To
rPH Phabricator
Plan.php
View Options
<?php
class
Stripe_Plan
extends
Stripe_ApiResource
{
/**
* @param string $id The ID of the plan to retrieve.
* @param string|null $apiKey
*
* @return Stripe_Plan
*/
public
static
function
retrieve
(
$id
,
$apiKey
=
null
)
{
$class
=
get_class
();
return
self
::
_scopedRetrieve
(
$class
,
$id
,
$apiKey
);
}
/**
* @param array|null $params
* @param string|null $apiKey
*
* @return Stripe_Plan The created plan.
*/
public
static
function
create
(
$params
=
null
,
$apiKey
=
null
)
{
$class
=
get_class
();
return
self
::
_scopedCreate
(
$class
,
$params
,
$apiKey
);
}
/**
* @param array|null $params
*
* @return Stripe_Plan The deleted plan.
*/
public
function
delete
(
$params
=
null
)
{
$class
=
get_class
();
return
self
::
_scopedDelete
(
$class
,
$params
);
}
/**
* @return Stripe_Plan The saved plan.
*/
public
function
save
()
{
$class
=
get_class
();
return
self
::
_scopedSave
(
$class
);
}
/**
* @param array|null $params
* @param string|null $apiKey
*
* @return array An array of Stripe_Plans.
*/
public
static
function
all
(
$params
=
null
,
$apiKey
=
null
)
{
$class
=
get_class
();
return
self
::
_scopedAll
(
$class
,
$params
,
$apiKey
);
}
}
Event Timeline
Log In to Comment