Skip to content

Commit c12e12f

Browse files
LI-93872 - Update change log
1 parent 676f9cb commit c12e12f

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ ChangeLog
22
=========
33
2.2.6
44
-------------------
5-
- Added field 'notes' to Payment.
5+
- Added a new notes field to the Payment object, allowing users to include supplementary information or comments related to a payment.
6+
- Removed the description field from the Payment object. Please use the new notes field in its place for all future implementations.
67

78
2.2.5
89
-------------------

src/Hyperwallet/Model/Payment.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -157,26 +157,6 @@ public function setCurrency($currency) {
157157
return $this;
158158
}
159159

160-
/**
161-
* Get the payment description
162-
* @deprecated Use getNotes() instead.
163-
* @return string
164-
*/
165-
public function getDescription() {
166-
return $this->description;
167-
}
168-
169-
/**
170-
* Set the payment description ()
171-
* @deprecated Use setNotes(string $notes) instead.
172-
* @param string $description
173-
* @return Payment
174-
*/
175-
public function setDescription($description) {
176-
$this->description = $description;
177-
return $this;
178-
}
179-
180160
/**
181161
* Get the payment notes
182162
*

0 commit comments

Comments
 (0)