JAVA-955: Migrate stripe to parent-boot-2
This commit is contained in:
parent
2dd9b80107
commit
86da74f733
|
@ -11,9 +11,9 @@
|
|||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-boot-1</artifactId>
|
||||
<artifactId>parent-boot-2</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<relativePath>../parent-boot-1</relativePath>
|
||||
<relativePath>../parent-boot-2</relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -13,4 +13,27 @@ public class ChargeRequest {
|
|||
private Currency currency;
|
||||
private String stripeEmail;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
STRIPE_SECRET_KEY=
|
||||
STRIPE_PUBLIC_KEY=
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0; url=/checkout.html" />
|
||||
<meta http-equiv="refresh" content="0; url=/checkout" />
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue