com.arcbees.stripe:gwt-stripe

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Categories

Categories

GWT (Google Web Toolkit) User Interface Web Frameworks Stripe Business Logic Libraries Financial
GroupId

GroupId

com.arcbees.stripe
ArtifactId

ArtifactId

gwt-stripe
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Download gwt-stripe

How to add to project

<!-- https://jarcasting.com/artifacts/com.arcbees.stripe/gwt-stripe/ -->
<dependency>
    <groupId>com.arcbees.stripe</groupId>
    <artifactId>gwt-stripe</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.arcbees.stripe/gwt-stripe/
implementation 'com.arcbees.stripe:gwt-stripe:0.2.0'
// https://jarcasting.com/artifacts/com.arcbees.stripe/gwt-stripe/
implementation ("com.arcbees.stripe:gwt-stripe:0.2.0")
'com.arcbees.stripe:gwt-stripe:jar:0.2.0'
<dependency org="com.arcbees.stripe" name="gwt-stripe" rev="0.2.0">
  <artifact name="gwt-stripe" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.arcbees.stripe', module='gwt-stripe', version='0.2.0')
)
libraryDependencies += "com.arcbees.stripe" % "gwt-stripe" % "0.2.0"
[com.arcbees.stripe/gwt-stripe "0.2.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.gwt : gwt-user jar 2.6.0
com.google.gwt.inject : gin jar 2.1.2

Project Modules

There are no modules declared in this project.

GWT Stripe

A simple Stripe.js wrapper for GWT.

##Adding it to your project

  1. Add Maven dependency to your POM:

        <dependency>
            <groupId>com.arcbees.stripe</groupId>
            <artifactId>gwt</artifactId>
            <version>${core.version}</version>
        </dependency>
  2. Inherit the required GWT module

    <inherits name="com.arcbees.stripe.GwtStripe"/>

##Using it with Gin

  1. Install the required Gin module:

    install(new StripeModule());
  2. Inject and use the Stripe interface:

    @Inject
    MyClass(Stripe stripe) {
        //...
    }

##Using it with StripeFactory Use StripeFactory.get() to get a Stripe instance:

Stripe stripe = StripeFactory.get();

You can call StripeFactory.get() at any time, since the Stripe instance you'll receive is stateless.

##Running the sample

  1. Clone the repo
  2. cd to root folder
  3. mvn clean install
  4. cd sample
  5. mvn clean gwt:run

##Running integration tests 0. Make sure chromedriver is on your PATH

  1. cd to root folder
  2. mvn clean verify -Pintegration-tests

##Thanks to Arcbees.com

Atlassian

IntelliJ

com.arcbees.stripe

Arcbees

Versions

Version
0.2.0
0.1.0-alpha