Skip to content

Commit 897c9c4

Browse files
1 parent fec9c76 commit 897c9c4

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/PaymentsResellerSubscription/SubscriptionLineItem.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ class SubscriptionLineItem extends \Google\Collection
4040
public $lineItemIndex;
4141
protected $lineItemPromotionSpecsType = SubscriptionPromotionSpec::class;
4242
protected $lineItemPromotionSpecsDataType = 'array';
43+
/**
44+
* @var string
45+
*/
46+
public $name;
4347
protected $oneTimeRecurrenceDetailsType = SubscriptionLineItemOneTimeRecurrenceDetails::class;
4448
protected $oneTimeRecurrenceDetailsDataType = '';
4549
/**
@@ -155,6 +159,20 @@ public function getLineItemPromotionSpecs()
155159
{
156160
return $this->lineItemPromotionSpecs;
157161
}
162+
/**
163+
* @param string
164+
*/
165+
public function setName($name)
166+
{
167+
$this->name = $name;
168+
}
169+
/**
170+
* @return string
171+
*/
172+
public function getName()
173+
{
174+
return $this->name;
175+
}
158176
/**
159177
* @param SubscriptionLineItemOneTimeRecurrenceDetails
160178
*/

0 commit comments

Comments
 (0)