Coder Social home page Coder Social logo

Android Java Code about omise-android HOT 4 CLOSED

omise avatar omise commented on June 24, 2024
Android Java Code

from omise-android.

Comments (4)

nuxzero avatar nuxzero commented on June 24, 2024

Yes, we support both Java and Kotlin. You can find different usage in the sample code of the project.

If you have any questions, please don't hesitate to ask.

from omise-android.

zhangwenxiang26 avatar zhangwenxiang26 commented on June 24, 2024

Oh sorry . I can't find Java code usage in the sample of the project. There is only Kotlin code .
For example,

val cardParam = CardParam(
name = "JOHN Doe",
number = "4242424242424242",
expirationMonth = 10,
expirationYear = 2020,
securityCode = "123")

val request = Token.CreateTokenRequestBuilder(cardParam).build()

Where can I find Java code. I need help .
@nuxzero

from omise-android.

nuxzero avatar nuxzero commented on June 24, 2024

Unfortunately, we don't have this sample in the sample code. However, you can call Kotlin code in Java as regular Java conventional like this.

CardParam params = new CardParam(
                "JOHN Doe",
                "4242424242424242",
                10,
                2020,
                "123",
                null,
                null);
Request request = new Token.CreateTokenRequestBuilder(params).build();

Thank you for your feedback. We will note this to update in the future version.

from omise-android.

nuxzero avatar nuxzero commented on June 24, 2024

If you have another question about this issue, please feel free to reopen it. 🙂

from omise-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.