blob: 7b8d36f3d4f046ff32396bd47b5b5fc4442c996b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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;
}
}
|