aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/PaymentInstrument.java
diff options
context:
space:
mode:
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/PaymentInstrument.java')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/PaymentInstrument.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/PaymentInstrument.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/PaymentInstrument.java
new file mode 100644
index 00000000000..7b8d36f3d4f
--- /dev/null
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/PaymentInstrument.java
@@ -0,0 +1,51 @@
+// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.vespa.hosted.controller.api.integration.billing;
+
+/**
+ * @author olaa
+ */
+public class PaymentInstrument {
+
+ private final String id;
+ private final String nameOnCard;
+ private final String displayText;
+ private final String brand;
+ private final String type;
+ private final String endingWith;
+ private final String expiryDate;
+
+
+ public PaymentInstrument(String id, String nameOnCard, String displayText, String brand, String type, String endingWith, String expiryDate) {
+ this.id = id;
+ this.nameOnCard = nameOnCard;
+ this.displayText = displayText;
+ this.brand = brand;
+ this.type = type;
+ this.endingWith = endingWith;
+ this.expiryDate = expiryDate;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public String getNameOnCard() {
+ return nameOnCard;
+ }
+
+ public String getDisplayText() {
+ return displayText;
+ }
+
+ public String getBrand() {
+ return brand;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public String getEndingWith() {
+ return endingWith;
+ }
+}