-
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.
Merge pull request #479 from Adyen/feature/AD-321
AD-321: Implement Configuration for Enabling Express Payments
- Loading branch information
Showing
11 changed files
with
256 additions
and
9 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
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
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
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
77 changes: 77 additions & 0 deletions
77
adyenv6core/src/com/adyen/v6/dto/ExpressPaymentConfigDto.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,77 @@ | ||
package com.adyen.v6.dto; | ||
|
||
public class ExpressPaymentConfigDto { | ||
private boolean googlePayExpressEnabledOnCart; | ||
private boolean applePayExpressEnabledOnCart; | ||
private boolean paypalExpressEnabledOnCart; | ||
private boolean amazonPayExpressEnabledOnCart; | ||
private boolean googlePayExpressEnabledOnProduct; | ||
private boolean applePayExpressEnabledOnProduct; | ||
private boolean paypalExpressEnabledOnProduct; | ||
private boolean amazonPayExpressEnabledOnProduct; | ||
|
||
|
||
public boolean isGooglePayExpressEnabledOnCart() { | ||
return googlePayExpressEnabledOnCart; | ||
} | ||
|
||
public void setGooglePayExpressEnabledOnCart(boolean googlePayExpressEnabledOnCart) { | ||
this.googlePayExpressEnabledOnCart = googlePayExpressEnabledOnCart; | ||
} | ||
|
||
public boolean isApplePayExpressEnabledOnCart() { | ||
return applePayExpressEnabledOnCart; | ||
} | ||
|
||
public void setApplePayExpressEnabledOnCart(boolean applePayExpressEnabledOnCart) { | ||
this.applePayExpressEnabledOnCart = applePayExpressEnabledOnCart; | ||
} | ||
|
||
public boolean isPaypalExpressEnabledOnCart() { | ||
return paypalExpressEnabledOnCart; | ||
} | ||
|
||
public void setPaypalExpressEnabledOnCart(boolean paypalExpressEnabledOnCart) { | ||
this.paypalExpressEnabledOnCart = paypalExpressEnabledOnCart; | ||
} | ||
|
||
public boolean isAmazonPayExpressEnabledOnCart() { | ||
return amazonPayExpressEnabledOnCart; | ||
} | ||
|
||
public void setAmazonPayExpressEnabledOnCart(boolean amazonPayExpressEnabledOnCart) { | ||
this.amazonPayExpressEnabledOnCart = amazonPayExpressEnabledOnCart; | ||
} | ||
|
||
public boolean isGooglePayExpressEnabledOnProduct() { | ||
return googlePayExpressEnabledOnProduct; | ||
} | ||
|
||
public void setGooglePayExpressEnabledOnProduct(boolean googlePayExpressEnabledOnProduct) { | ||
this.googlePayExpressEnabledOnProduct = googlePayExpressEnabledOnProduct; | ||
} | ||
|
||
public boolean isApplePayExpressEnabledOnProduct() { | ||
return applePayExpressEnabledOnProduct; | ||
} | ||
|
||
public void setApplePayExpressEnabledOnProduct(boolean applePayExpressEnabledOnProduct) { | ||
this.applePayExpressEnabledOnProduct = applePayExpressEnabledOnProduct; | ||
} | ||
|
||
public boolean isPaypalExpressEnabledOnProduct() { | ||
return paypalExpressEnabledOnProduct; | ||
} | ||
|
||
public void setPaypalExpressEnabledOnProduct(boolean paypalExpressEnabledOnProduct) { | ||
this.paypalExpressEnabledOnProduct = paypalExpressEnabledOnProduct; | ||
} | ||
|
||
public boolean isAmazonPayExpressEnabledOnProduct() { | ||
return amazonPayExpressEnabledOnProduct; | ||
} | ||
|
||
public void setAmazonPayExpressEnabledOnProduct(boolean amazonPayExpressEnabledOnProduct) { | ||
this.amazonPayExpressEnabledOnProduct = amazonPayExpressEnabledOnProduct; | ||
} | ||
} |
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.