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

Test Case(s) for creating a subscription awaiting_signup with metered components and restricted coupon #4

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

kazimierzm-iRonin
Copy link
Contributor

No description provided.

s.Equal(subscription.CustomerId, createdSubscription.Customer.Id)
s.Equal(subscription.ProductId, createdSubscription.Product.Id)

listResp, err := s.client.SubscriptionComponentsController().ListSubscriptionComponents(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there some possibility in the SDK to provide only required parameters to avoid long list of nils?
Builder or some other pattern?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not in this version of sdk. We could use those parameters as options but that would require writing wrapper around sdk methods

@kazimierzm-iRonin kazimierzm-iRonin changed the base branch from main to FIRST-13 January 24, 2024 11:37
@kazimierzm-iRonin kazimierzm-iRonin changed the base branch from FIRST-13 to main January 24, 2024 11:38
@kazimierzm-iRonin kazimierzm-iRonin merged commit d397acd into main Jan 24, 2024
1 check passed
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