Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79854880
PhortuneProductImplementation.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
Wed, Aug 28, 15:12
Size
873 B
Mime Type
text/x-php
Expires
Fri, Aug 30, 15:12 (2 d)
Engine
blob
Format
Raw Data
Handle
20246594
Attached To
rPH Phabricator
PhortuneProductImplementation.php
View Options
<?php
abstract
class
PhortuneProductImplementation
{
abstract
public
function
loadImplementationsForRefs
(
PhabricatorUser
$viewer
,
array
$refs
);
abstract
public
function
getRef
();
abstract
public
function
getName
(
PhortuneProduct
$product
);
abstract
public
function
getPriceAsCurrency
(
PhortuneProduct
$product
);
protected
function
getContentSource
()
{
return
PhabricatorContentSource
::
newForSource
(
PhabricatorContentSource
::
SOURCE_PHORTUNE
,
array
());
}
public
function
getPurchaseName
(
PhortuneProduct
$product
,
PhortunePurchase
$purchase
)
{
return
$this
->
getName
(
$product
);
}
public
function
didPurchaseProduct
(
PhortuneProduct
$product
,
PhortunePurchase
$purchase
)
{
return
;
}
public
function
didRefundProduct
(
PhortuneProduct
$product
,
PhortunePurchase
$purchase
)
{
return
;
}
}
Event Timeline
Log In to Comment