forked from rjstanford/spreedly-java
-
Notifications
You must be signed in to change notification settings - Fork 0
3ds2 global support #4
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
75d0d07
add 3ds global support
DavidRadchenko 019cf0f
Update Spreedly.java
DavidRadchenko c494b82
Update pom.xml
DavidRadchenko 19da577
add 3ds global support
DavidRadchenko 4d74b62
Merge remote-tracking branch 'origin/3ds2_global_support' into 3ds2_g…
DavidRadchenko e60ea60
add 3ds global support
DavidRadchenko d524404
Update Spreedly.java
DavidRadchenko 32b5cd9
add 3ds global support
DavidRadchenko a6b0c2e
Merge remote-tracking branch 'origin/3ds2_global_support' into 3ds2_g…
DavidRadchenko 1fb0a8d
add 3ds global support
DavidRadchenko d8b141f
add 3ds global support
DavidRadchenko f1807bd
add 3ds global support
DavidRadchenko 97b7b65
add 3ds global support
DavidRadchenko bdcb8ff
add 3ds global support
DavidRadchenko 8ea9068
add 3ds global support
DavidRadchenko 4c5298c
add 3ds global support
DavidRadchenko 3b8c16e
Merge branch 'master' into 3ds2_global_support
DavidRadchenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
28 changes: 28 additions & 0 deletions
28
src/main/java/cc/protea/spreedly/model/SpreedlyAmexDetails.java
This file contains hidden or 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,28 @@ | ||
| package cc.protea.spreedly.model; | ||
|
|
||
| import javax.xml.bind.annotation.*; | ||
|
|
||
| @XmlRootElement(name = "amex") | ||
| @XmlAccessorType(XmlAccessType.FIELD) | ||
| public class SpreedlyAmexDetails { | ||
|
|
||
| @XmlElement(name = "acquirer_bin") public Long acquirerBin; | ||
| @XmlElement(name = "merchant_url") public String merchantUrl; | ||
|
|
||
| public Long getAcquirerBin() { | ||
| return acquirerBin; | ||
| } | ||
|
|
||
| public void setAcquirerBin(Long acquirerBin) { | ||
| this.acquirerBin = acquirerBin; | ||
| } | ||
|
|
||
| public String getMerchantUrl() { | ||
| return merchantUrl; | ||
| } | ||
|
|
||
| public void setMerchantUrl(String merchantUrl) { | ||
| this.merchantUrl = merchantUrl; | ||
| } | ||
|
|
||
| } |
48 changes: 48 additions & 0 deletions
48
src/main/java/cc/protea/spreedly/model/SpreedlyAmexNetwork.java
This file contains hidden or 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,48 @@ | ||
| package cc.protea.spreedly.model; | ||
|
|
||
| import javax.xml.bind.annotation.*; | ||
|
|
||
| @XmlRootElement(name = "amex") | ||
| @XmlAccessorType(XmlAccessType.FIELD) | ||
| public class SpreedlyAmexNetwork { | ||
|
|
||
| @XmlElement(name = "acquirer_merchant_id") public String acquirerMerchantId; | ||
| @XmlElement(name = "country_code") public Long countryCode; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can be Integer, but not critical |
||
| @XmlElement(name = "mcc") public Long mcc; | ||
| @XmlElement(name = "merchant_name") public String name; | ||
|
|
||
| public String getAcquirerMerchantId() { | ||
| return acquirerMerchantId; | ||
| } | ||
|
|
||
| public void setAcquirerMerchantId(String acquirerMerchantId) { | ||
| this.acquirerMerchantId = acquirerMerchantId; | ||
| } | ||
|
|
||
| public Long getCountryCode() { | ||
| return countryCode; | ||
| } | ||
|
|
||
| public void setCountryCode(Long countryCode) { | ||
| this.countryCode = countryCode; | ||
| } | ||
|
|
||
| public Long getMcc() { | ||
| return mcc; | ||
| } | ||
|
|
||
| public void setMcc(Long mcc) { | ||
| this.mcc = mcc; | ||
| } | ||
|
|
||
| public String getName() { | ||
| return name; | ||
| } | ||
|
|
||
| public void setName(String name) { | ||
| this.name = name; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| } | ||
This file contains hidden or 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
41 changes: 41 additions & 0 deletions
41
src/main/java/cc/protea/spreedly/model/SpreedlyCreditNetwork.java
This file contains hidden or 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,41 @@ | ||
| package cc.protea.spreedly.model; | ||
|
|
||
| import javax.xml.bind.annotation.*; | ||
|
|
||
| @XmlRootElement(name = "card_networks") | ||
| @XmlAccessorType(XmlAccessType.FIELD) | ||
| public class SpreedlyCreditNetwork { | ||
|
|
||
| @XmlElement(name = "visa") | ||
| public SpreedlyVisaNetwork visa; | ||
| @XmlElement(name = "mastercard") | ||
| public SpreedlyMastercardNetwork mastercard; | ||
| @XmlElement(name = "amex") | ||
| public SpreedlyAmexNetwork amex; | ||
|
|
||
| public SpreedlyVisaNetwork getVisa() { | ||
| return visa; | ||
| } | ||
|
|
||
| public void setVisa(SpreedlyVisaNetwork visa) { | ||
| this.visa = visa; | ||
| } | ||
|
|
||
| public SpreedlyMastercardNetwork getMastercard() { | ||
| return mastercard; | ||
| } | ||
|
|
||
| public void setMastercard(SpreedlyMastercardNetwork mastercard) { | ||
| this.mastercard = mastercard; | ||
| } | ||
|
|
||
| public SpreedlyAmexNetwork getAmex() { | ||
| return amex; | ||
| } | ||
|
|
||
| public void setAmex(SpreedlyAmexNetwork amex) { | ||
| this.amex = amex; | ||
| } | ||
|
|
||
|
|
||
| } |
29 changes: 29 additions & 0 deletions
29
src/main/java/cc/protea/spreedly/model/SpreedlyMastercardDetails.java
This file contains hidden or 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,29 @@ | ||
| package cc.protea.spreedly.model; | ||
|
|
||
| import javax.xml.bind.annotation.*; | ||
|
|
||
| @XmlRootElement(name = "mastercard") | ||
| @XmlAccessorType(XmlAccessType.FIELD) | ||
| public class SpreedlyMastercardDetails { | ||
|
|
||
| @XmlElement(name = "acquirer_bin") public Long acquirerBin; | ||
| @XmlElement(name = "merchant_url") public String merchantUrl; | ||
|
|
||
| public Long getAcquirerBin() { | ||
| return acquirerBin; | ||
| } | ||
|
|
||
| public void setAcquirerBin(Long acquirerBin) { | ||
| this.acquirerBin = acquirerBin; | ||
| } | ||
|
|
||
| public String getMerchantUrl() { | ||
| return merchantUrl; | ||
| } | ||
|
|
||
| public void setMerchantUrl(String merchantUrl) { | ||
| this.merchantUrl = merchantUrl; | ||
| } | ||
|
|
||
|
|
||
| } |
48 changes: 48 additions & 0 deletions
48
src/main/java/cc/protea/spreedly/model/SpreedlyMastercardNetwork.java
This file contains hidden or 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,48 @@ | ||
| package cc.protea.spreedly.model; | ||
|
|
||
| import javax.xml.bind.annotation.*; | ||
|
|
||
| @XmlRootElement(name = "mastercard") | ||
| @XmlAccessorType(XmlAccessType.FIELD) | ||
| public class SpreedlyMastercardNetwork { | ||
|
|
||
| @XmlElement(name = "acquirer_merchant_id") public String acquirerMerchantId; | ||
| @XmlElement(name = "country_code") public Long countryCode; | ||
| @XmlElement(name = "mcc") public Long mcc; | ||
| @XmlElement(name = "merchant_name") public String name; | ||
|
|
||
| public String getAcquirerMerchantId() { | ||
| return acquirerMerchantId; | ||
| } | ||
|
|
||
| public void setAcquirerMerchantId(String acquirerMerchantId) { | ||
| this.acquirerMerchantId = acquirerMerchantId; | ||
| } | ||
|
|
||
| public Long getCountryCode() { | ||
| return countryCode; | ||
| } | ||
|
|
||
| public void setCountryCode(Long countryCode) { | ||
| this.countryCode = countryCode; | ||
| } | ||
|
|
||
| public Long getMcc() { | ||
| return mcc; | ||
| } | ||
|
|
||
| public void setMcc(Long mcc) { | ||
| this.mcc = mcc; | ||
| } | ||
|
|
||
| public String getName() { | ||
| return name; | ||
| } | ||
|
|
||
| public void setName(String name) { | ||
| this.name = name; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we set target to 11? We will soon need this module in commerce service