// Check with default settings const paymentMethods = await sdkInstance.findEligibleMethods(); // Check with specific currency and amount const paymentMethods = await sdkInstance.findEligibleMethods({ currencyCode: "USD", countryCode: "US", amount: "125.00", }); // Use the eligibility results if (paymentMethods.isEligible("paypal")) { // Show PayPal button } if (paymentMethods.isEligible("paylater")) { const details = paymentMethods.getDetails("paylater"); // Show Pay Later button with product-s

Open
#25,584 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
1/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
java
Domain
api

Research direction

The title contains a truncated JavaScript SDK example, but the issue body is empty and names no generator module, files, or tests. Start by checking the issue discussion for the intended change and affected generated client; completion criteria cannot be determined from the supplied issue text.

Written by the indexing model from the issue text.

Description

This issue has no description.

Dominant language
Java
Stars
26.9k
Forks
7.8k
Avg merge
2d 23m
Merged PRs (30d)
177

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenAPITools/openapi-generator

All issues in OpenAPITools/openapi-generator

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.