4 use PayPal\Common\PPModel;
6 class Transaction extends PPModel {
8 * Amount being collected.
9 * @param PayPal\Api\Amount $amount
11 public function setAmount($amount) {
12 $this->amount = $amount;
17 * Amount being collected.
18 * @return PayPal\Api\Amount
20 public function getAmount() {
26 * Recepient of the funds in this transaction.
27 * @param PayPal\Api\Payee $payee
29 public function setPayee($payee) {
30 $this->payee = $payee;
35 * Recepient of the funds in this transaction.
36 * @return PayPal\Api\Payee
38 public function getPayee() {
44 * Description of what is being paid for.
45 * @param string $description
47 public function setDescription($description) {
48 $this->description = $description;
53 * Description of what is being paid for.
56 public function getDescription() {
57 return $this->description;
62 * List of items being paid for.
63 * @param PayPal\Api\ItemList $item_list
65 public function setItemList($item_list) {
66 $this->item_list = $item_list;
71 * List of items being paid for.
72 * @return PayPal\Api\ItemList
74 public function getItemList() {
75 return $this->item_list;
79 * List of items being paid for.
80 * @param PayPal\Api\ItemList $item_list
81 * @deprecated. Instead use setItemList
83 public function setItem_list($item_list) {
84 $this->item_list = $item_list;
88 * List of items being paid for.
89 * @return PayPal\Api\ItemList
90 * @deprecated. Instead use getItemList
92 public function getItem_list() {
93 return $this->item_list;
97 * List of financial transactions (Sale, Authorization, Capture, Refund) related to the payment.
99 * @param PayPal\Api\RelatedResources $related_resources
101 public function setRelatedResources($related_resources) {
102 $this->related_resources = $related_resources;
107 * List of financial transactions (Sale, Authorization, Capture, Refund) related to the payment.
108 * @return PayPal\Api\RelatedResources
110 public function getRelatedResources() {
111 return $this->related_resources;
115 * List of financial transactions (Sale, Authorization, Capture, Refund) related to the payment.
117 * @param PayPal\Api\RelatedResources $related_resources
118 * @deprecated. Instead use setRelatedResources
120 public function setRelated_resources($related_resources) {
121 $this->related_resources = $related_resources;
125 * List of financial transactions (Sale, Authorization, Capture, Refund) related to the payment.
126 * @return PayPal\Api\RelatedResources
127 * @deprecated. Instead use getRelatedResources
129 public function getRelated_resources() {
130 return $this->related_resources;
134 * Additional transactions for complex payment (Parallel and Chained) scenarios.
136 * @param PayPal\Api\self $transactions
138 public function setTransactions($transactions) {
139 $this->transactions = $transactions;
144 * Additional transactions for complex payment (Parallel and Chained) scenarios.
145 * @return PayPal\Api\self
147 public function getTransactions() {
148 return $this->transactions;