Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90717737
PhortuneAccountBillingAddressTransaction.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
Mon, Nov 4, 03:32
Size
905 B
Mime Type
text/x-php
Expires
Wed, Nov 6, 03:32 (2 d)
Engine
blob
Format
Raw Data
Handle
22124322
Attached To
rPH Phabricator
PhortuneAccountBillingAddressTransaction.php
View Options
<?php
final
class
PhortuneAccountBillingAddressTransaction
extends
PhortuneAccountTransactionType
{
const
TRANSACTIONTYPE
=
'billing-address'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getBillingAddress
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setBillingAddress
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s updated the account billing address.'
,
$this
->
renderAuthor
());
}
public
function
hasChangeDetailView
()
{
return
true
;
}
public
function
getMailDiffSectionHeader
()
{
return
pht
(
'CHANGES TO BILLING ADDRESS'
);
}
public
function
newChangeDetailView
()
{
$viewer
=
$this
->
getViewer
();
return
id
(
new
PhabricatorApplicationTransactionTextDiffDetailView
())
->
setViewer
(
$viewer
)
->
setOldText
(
$this
->
getOldValue
())
->
setNewText
(
$this
->
getNewValue
());
}
}
Event Timeline
Log In to Comment