JAVA-955: Migrate stripe to parent-boot-2
This commit is contained in:
parent
2dd9b80107
commit
86da74f733
@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
<artifactId>parent-boot-1</artifactId>
|
<artifactId>parent-boot-2</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<relativePath>../parent-boot-1</relativePath>
|
<relativePath>../parent-boot-2</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -13,4 +13,27 @@ public class ChargeRequest {
|
|||||||
private Currency currency;
|
private Currency currency;
|
||||||
private String stripeEmail;
|
private String stripeEmail;
|
||||||
private String stripeToken;
|
private String stripeToken;
|
||||||
|
public String getDescription() {
|
||||||
|
return description;
|
||||||
|
}
|
||||||
|
public int getAmount() {
|
||||||
|
return amount;
|
||||||
|
}
|
||||||
|
public Currency getCurrency() {
|
||||||
|
return currency;
|
||||||
|
}
|
||||||
|
public String getStripeEmail() {
|
||||||
|
return stripeEmail;
|
||||||
|
}
|
||||||
|
public String getStripeToken() {
|
||||||
|
return stripeToken;
|
||||||
|
}
|
||||||
|
public void setDescription(String description) {
|
||||||
|
this.description = description;
|
||||||
|
}
|
||||||
|
public void setCurrency(Currency currency) {
|
||||||
|
this.currency = currency;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
2
stripe/src/main/resources/application.properties
Normal file
2
stripe/src/main/resources/application.properties
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
STRIPE_SECRET_KEY=
|
||||||
|
STRIPE_PUBLIC_KEY=
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; url=/checkout.html" />
|
<meta http-equiv="refresh" content="0; url=/checkout" />
|
||||||
</head>
|
</head>
|
||||||
<body></body>
|
<body></body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user