Skip to content
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

Conversation

Rinor12010
Copy link
Contributor

No description provided.

src/PaymentMethods/Subscriptions/index.ts Outdated Show resolved Hide resolved
})
.request();
const getActiveSubscriptions = subscription.getActiveSubscriptions()
Copy link

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

@@ -22,7 +22,7 @@ export default abstract class PaymentMethod {
this._serviceVersion = value;
}

get serviceCode(): ServiceCode {
get serviceCode(): ServiceCode | string {
Copy link
Contributor

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'
Copy link
Contributor

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
Copy link
Contributor

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

src/Services/ActiveSubscriptions.ts Outdated Show resolved Hide resolved
@Rinor12010 Rinor12010 dismissed harli91’s stale review November 30, 2023 13:54

Made requested change

@Rinor12010 Rinor12010 merged commit 3f21582 into develop Nov 30, 2023
1 check passed
@Rinor12010 Rinor12010 deleted the BP-3190-Add-GetActiveSubscription-to-retrieve-all-Buckaroo-subscriptions branch December 1, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants