-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDKJ-73] Refactor the namespaces to replace "stripe" with "seamlesspay"
1. renamed package from stripe to seamlesspay 2. replaced all Stripe with SeamlessPay where applicable 3. replaced Stripe global class with SPAPI where for every reference 4. replaced stripe with seamlesspay in build configuration files 5. reset library version from 20.98.0 to 0.0.1
- Loading branch information
Showing
83 changed files
with
307 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.98.0 | ||
0.0.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,12 +41,6 @@ tasks.withType(JavaCompile) { | |
// // to fix by adding the missing summaries. | ||
// check("MissingSummary", net.ltgt.gradle.errorprone.CheckSeverity.OFF) | ||
// | ||
// // This check is disabled because multiple nested classes may have the same name in a given | ||
// // file. E.g. in `main/java/com/stripe/param/AccountUpdateParams.java`: | ||
// // The name `Address` refers to [com.stripe.param.AccountUpdateParams.Company.Address, | ||
// // com.stripe.param.AccountUpdateParams.Individual.Address] within this file.) | ||
// // We should fix this by having autogen use the fully-qualified class to eliminate ambiguity. | ||
// check("SameNameButDifferent", net.ltgt.gradle.errorprone.CheckSeverity.OFF) | ||
// } | ||
} | ||
|
||
|
@@ -81,7 +75,7 @@ jar { | |
"Implementation-Version": VERSION_NAME, | ||
"Implementation-Vendor": VENDOR_NAME, | ||
"Bundle-SymbolicName": POM_ARTIFACT_ID, | ||
"Export-Package": "com.stripe.*") | ||
"Export-Package": "com.seamlesspay.*") | ||
|
||
archiveVersion = VERSION_NAME | ||
} | ||
|
@@ -137,7 +131,7 @@ coveralls { | |
//} | ||
|
||
gitPublish { | ||
repoUri = '[email protected]:stripe/stripe-java.git' | ||
repoUri = '[email protected]:seamlesspay/seamlesspay-java.git' | ||
branch = 'gh-pages' | ||
sign = false // disable commit signing | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
GROUP=com.stripe | ||
VERSION_NAME=20.98.0 | ||
GROUP=com.seamlesspay | ||
VERSION_NAME=0.0.1 | ||
NAME=seamlesspay-java | ||
|
||
POM_URL=https://github.com/stripe/stripe-java | ||
POM_SCM_URL=[email protected]:stripe/stripe-java.git | ||
POM_SCM_CONNECTION=scm:git:[email protected]:stripe/stripe-java.git | ||
POM_SCM_DEV_CONNECTION=scm:git:[email protected]:stripe/stripe-java.git | ||
POM_URL=https://github.com/seamlesspay/seamlesspay-java | ||
POM_SCM_URL=[email protected]:seamlesspay/seamlesspay-java.git | ||
POM_SCM_CONNECTION=scm:git:[email protected]:seamlesspay/seamlesspay-java.git | ||
POM_SCM_DEV_CONNECTION=scm:git:[email protected]:seamlesspay/seamlesspay-java.git | ||
POM_LICENCE_NAME=The MIT License | ||
POM_LICENCE_URL=https://opensource.org/licenses/MIT | ||
POM_LICENCE_DIST=repo | ||
POM_DEVELOPER_ID=stripe | ||
POM_DEVELOPER_NAME=Stripe | ||
POM_DEVELOPER_EMAIL=support+java@stripe.com | ||
POM_LICENCE_DIST=seamlesspay | ||
POM_DEVELOPER_ID=seamlesspay | ||
POM_DEVELOPER_NAME=SeamlessPay | ||
POM_DEVELOPER_EMAIL=support+java@seamlesspay.com | ||
|
||
POM_DESCRIPTION=Stripe Java Bindings | ||
POM_NAME=stripe-java | ||
POM_ARTIFACT_ID=stripe-java | ||
POM_DESCRIPTION=SeamlessPay Java Bindings | ||
POM_NAME=seamlesspay-java | ||
POM_ARTIFACT_ID=seamlesspay-java | ||
POM_PACKAGING=jar | ||
POM_ORGANIZATION_URL=https://stripe.com | ||
POM_ORGANIZATION_URL=https://seamlesspay.com | ||
|
||
VENDOR_NAME=Stripe, Inc. (https://stripe.com) | ||
VENDOR_NAME=Seamless Payments (https://seamlesspay.com) | ||
|
||
# Workaround to prevent Java 12 to try and use TLSv1.3 when uploading coverage | ||
# reports to coveralls.io. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rootProject.name = NAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ipe/exception/ApiConnectionException.java → ...pay/exception/ApiConnectionException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...va/com/stripe/exception/ApiException.java → ...m/seamlesspay/exception/ApiException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...pe/exception/AuthenticationException.java → ...ay/exception/AuthenticationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tripe/exception/IdempotencyException.java → ...sspay/exception/IdempotencyException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pe/exception/InvalidRequestException.java → ...ay/exception/InvalidRequestException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ava/com/stripe/exception/SPException.java → ...om/seamlesspay/exception/SPException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/main/java/com/stripe/model/Batch.java → ...ain/java/com/seamlesspay/model/Batch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...va/com/stripe/model/BatchCloseResult.java → ...m/seamlesspay/model/BatchCloseResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/stripe/model/CardType.java → .../java/com/seamlesspay/model/CardType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...va/com/stripe/model/ChargeCollection.java → ...m/seamlesspay/model/ChargeCollection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
public class ChargeCollection extends SPCollection<Charge> {} |
2 changes: 1 addition & 1 deletion
2
.../stripe/model/CreditCardVerification.java → ...lesspay/model/CreditCardVerification.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ipe/model/CreditCardVerificationCode.java → ...pay/model/CreditCardVerificationCode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/main/java/com/stripe/model/Currency.java → .../java/com/seamlesspay/model/Currency.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
public enum Currency { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...tripe/model/DigitalWalletProgramType.java → ...sspay/model/DigitalWalletProgramType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
public enum DigitalWalletProgramType { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...main/java/com/stripe/model/EntryType.java → ...java/com/seamlesspay/model/EntryType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
src/main/java/com/stripe/model/Event.java → ...ain/java/com/seamlesspay/model/Event.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/stripe/model/HasId.java → ...ain/java/com/seamlesspay/model/HasId.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
public interface HasId { | ||
String getId(); | ||
|
2 changes: 1 addition & 1 deletion
2
src/main/java/com/stripe/model/Order.java → ...ain/java/com/seamlesspay/model/Order.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ain/java/com/stripe/model/Pagination.java → ...ava/com/seamlesspay/model/Pagination.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
import lombok.ToString; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...java/com/stripe/model/PaymentNetwork.java → ...com/seamlesspay/model/PaymentNetwork.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../java/com/stripe/model/RawJsonObject.java → .../com/seamlesspay/model/RawJsonObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.stripe.model; | ||
package com.seamlesspay.model; | ||
|
||
import com.google.gson.JsonObject; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ripe/model/RawJsonObjectDeserializer.java → ...spay/model/RawJsonObjectDeserializer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.