-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cb3417
commit 27db809
Showing
7 changed files
with
174 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.checkout.payments.sessions; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public final class Card { | ||
|
||
@SerializedName("store_payment_details") | ||
private StorePaymentDetailsType storePaymentDetails; | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/com/checkout/payments/sessions/PaymentMethodConfiguration.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.checkout.payments.sessions; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public final class PaymentMethodConfiguration { | ||
|
||
private Card card; | ||
|
||
} |
43 changes: 43 additions & 0 deletions
43
src/main/java/com/checkout/payments/sessions/PaymentMethodsType.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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package com.checkout.payments.sessions; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public enum PaymentMethodsType { | ||
|
||
@SerializedName("applepay") | ||
APPLEPAY, | ||
|
||
@SerializedName("bancontact") | ||
BANCONTACT, | ||
|
||
@SerializedName("card") | ||
CARD, | ||
|
||
@SerializedName("eps") | ||
EPS, | ||
|
||
@SerializedName("giropay") | ||
GIROPAY, | ||
|
||
@SerializedName("googlepay") | ||
GOOGLEPAY, | ||
|
||
@SerializedName("ideal") | ||
IDEAL, | ||
|
||
@SerializedName("knet") | ||
KNET, | ||
|
||
@SerializedName("multibanco") | ||
MULTIBANCO, | ||
|
||
@SerializedName("p24") | ||
P24, | ||
|
||
@SerializedName("paypal") | ||
PAYPAL, | ||
|
||
@SerializedName("sofort") | ||
SOFORT, | ||
|
||
} |
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
13 changes: 13 additions & 0 deletions
13
src/main/java/com/checkout/payments/sessions/StorePaymentDetailsType.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.checkout.payments.sessions; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public enum StorePaymentDetailsType { | ||
|
||
@SerializedName("disabled") | ||
DISABLED, | ||
|
||
@SerializedName("enabled") | ||
ENABLED, | ||
|
||
} |
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