Added invoiceNumber, custom and softDescriptor to Transaction.

This commit is contained in:
LastDragon
2014-09-04 13:57:49 +04:00
parent 755d255721
commit 6f4ed162a9
2 changed files with 87 additions and 0 deletions

View File

@@ -207,6 +207,84 @@ class Transaction extends PPModel
return $this->related_resources;
}
/**
* Set invoice number.
* Invoice number used to track the payment. 256 characters max.
*
* @param string $invoiceNumber
*
* @return $this
*/
public function setInvoiceNumber($invoiceNumber)
{
$this->invoice_number = $invoiceNumber;
return $this;
}
/**
* Get invoice number.
* Invoice number used to track the payment. 256 characters max.
*
* @return string
*/
public function getInvoiceNumber()
{
return $this->invoice_number;
}
/**
* Set free-form field.
* Free-form field for the use of clients. 256 characters max.
*
* @param string $custom
*
* @return $this
*/
public function setCustom($custom)
{
$this->custom = $custom;
return $this;
}
/**
* Get free-form field.
* Free-form field for the use of clients. 256 characters max.
*
* @return string
*/
public function getCustom()
{
return $this->custom;
}
/**
* Set soft descriptor.
* Soft descriptor used when charging this funding source. 22 characters max.
*
* @param string $softDescriptor
*
* @return $this
*/
public function setSoftDescriptor($softDescriptor)
{
$this->soft_descriptor = $softDescriptor;
return $this;
}
/**
* Get soft descriptor.
* Soft descriptor used when charging this funding source. 22 characters max.
*
* @return string
*/
public function getSoftDescriptor()
{
return $this->soft_descriptor;
}
/**
* Set Transactions
* Additional transactions for complex payment (Parallel and Chained) scenarios