@@ -57,7 +57,7 @@ class SubscriptionIdPlanBody implements ModelInterface, ArrayAccess
57
57
*/
58
58
protected static $ swaggerTypes = [
59
59
'when ' => 'string ' ,
60
- 'subscription_plan ' => 'string ' ,
60
+ 'plan ' => 'string ' ,
61
61
'price ' => 'string '
62
62
];
63
63
@@ -68,7 +68,7 @@ class SubscriptionIdPlanBody implements ModelInterface, ArrayAccess
68
68
*/
69
69
protected static $ swaggerFormats = [
70
70
'when ' => null ,
71
- 'subscription_plan ' => 'uuid ' ,
71
+ 'plan ' => 'uuid ' ,
72
72
'price ' => 'uuid '
73
73
];
74
74
@@ -100,7 +100,7 @@ public static function swaggerFormats()
100
100
*/
101
101
protected static $ attributeMap = [
102
102
'when ' => 'when ' ,
103
- 'subscription_plan ' => 'subscription_plan ' ,
103
+ 'plan ' => 'plan ' ,
104
104
'price ' => 'price '
105
105
];
106
106
@@ -111,7 +111,7 @@ public static function swaggerFormats()
111
111
*/
112
112
protected static $ setters = [
113
113
'when ' => 'setWhen ' ,
114
- 'subscription_plan ' => 'setSubscriptionPlan ' ,
114
+ 'plan ' => 'setPlan ' ,
115
115
'price ' => 'setPrice '
116
116
];
117
117
@@ -122,7 +122,7 @@ public static function swaggerFormats()
122
122
*/
123
123
protected static $ getters = [
124
124
'when ' => 'getWhen ' ,
125
- 'subscription_plan ' => 'getSubscriptionPlan ' ,
125
+ 'plan ' => 'getPlan ' ,
126
126
'price ' => 'getPrice '
127
127
];
128
128
@@ -199,7 +199,7 @@ public function getWhenAllowableValues()
199
199
public function __construct (array $ data = null )
200
200
{
201
201
$ this ->container ['when ' ] = isset ($ data ['when ' ]) ? $ data ['when ' ] : null ;
202
- $ this ->container ['subscription_plan ' ] = isset ($ data ['subscription_plan ' ]) ? $ data ['subscription_plan ' ] : null ;
202
+ $ this ->container ['plan ' ] = isset ($ data ['plan ' ]) ? $ data ['plan ' ] : null ;
203
203
$ this ->container ['price ' ] = isset ($ data ['price ' ]) ? $ data ['price ' ] : null ;
204
204
}
205
205
@@ -223,9 +223,6 @@ public function listInvalidProperties()
223
223
);
224
224
}
225
225
226
- if ($ this ->container ['subscription_plan ' ] === null ) {
227
- $ invalidProperties [] = "'subscription_plan' can't be null " ;
228
- }
229
226
if ($ this ->container ['price ' ] === null ) {
230
227
$ invalidProperties [] = "'price' can't be null " ;
231
228
}
@@ -278,25 +275,25 @@ public function setWhen($when)
278
275
}
279
276
280
277
/**
281
- * Gets subscription_plan
278
+ * Gets plan
282
279
*
283
280
* @return string
284
281
*/
285
- public function getSubscriptionPlan ()
282
+ public function getPlan ()
286
283
{
287
- return $ this ->container ['subscription_plan ' ];
284
+ return $ this ->container ['plan ' ];
288
285
}
289
286
290
287
/**
291
- * Sets subscription_plan
288
+ * Sets plan
292
289
*
293
- * @param string $subscription_plan The ID for the subscription plan to be used
290
+ * @param string $plan The ID for the subscription plan to be used
294
291
*
295
292
* @return $this
296
293
*/
297
- public function setSubscriptionPlan ( $ subscription_plan )
294
+ public function setPlan ( $ plan )
298
295
{
299
- $ this ->container ['subscription_plan ' ] = $ subscription_plan ;
296
+ $ this ->container ['plan ' ] = $ plan ;
300
297
301
298
return $ this ;
302
299
}
0 commit comments