Page MenuHomePhorge

PhortuneAccountBillingAddressTransaction.php
No OneTemporary

Size
905 B
Referenced Files
None
Subscribers
None

PhortuneAccountBillingAddressTransaction.php

<?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());
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 5, 7:42 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70187
Default Alt Text
PhortuneAccountBillingAddressTransaction.php (905 B)

Event Timeline