-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BP-3190-Add-getActiveSubscriptions #33
BP-3190-Add-getActiveSubscriptions #33
Conversation
}) | ||
.request(); | ||
const getActiveSubscriptions = subscription.getActiveSubscriptions() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this endpoint is not related to the order subscription service
src/Services/PaymentMethod.ts
Outdated
@@ -22,7 +22,7 @@ export default abstract class PaymentMethod { | |||
this._serviceVersion = value; | |||
} | |||
|
|||
get serviceCode(): ServiceCode { | |||
get serviceCode(): ServiceCode | string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why you've added string as optional cast?
return subscription | ||
.create({ | ||
additionalParameters: { | ||
signature: 'XXXXXXXX', | ||
signature: 'XXXXXXXX' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
start using Prettier in your machine, and keep the structure
expect(data.hasError()).toBeTruthy(); | ||
}); | ||
}); | ||
test('Update', async () => { | ||
subscription | ||
return subscription |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the return
here doesn't matter
execution of Prettier & adjustments on ActiveSubscription class
No description provided.