• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperwallet / java-sdk / #654

01 May 2025 10:10PM CUT coverage: 97.037%. Remained the same
#654

push

grmeyer-hw-dev
Update changelog

5567 of 5737 relevant lines covered (97.04%)

67.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/main/java/com/hyperwallet/clientsdk/model/HyperwalletAccount.java
1
package com.hyperwallet.clientsdk.model;
2

3
import javax.xml.bind.annotation.XmlAccessType;
4
import javax.xml.bind.annotation.XmlAccessorType;
5
import javax.xml.bind.annotation.XmlRootElement;
6
import java.util.Date;
7
import java.util.List;
8

9
/**
10
 * Created by rbao on 5/20/16.
11
 */
12
@XmlRootElement
13
@XmlAccessorType(XmlAccessType.FIELD)
14
public class HyperwalletAccount {
39✔
15

16
    public enum EType {FUNDING, MERCHANT, REVENUE, COLLECTIONS, VIRTUAL_INCENTIVES, POST_FUNDING}
7✔
17

18
    private String token;
19
    private EType type;
20
    private Date createdOn;
21
    private String email;
22
    private List<HyperwalletLink> links;
23

24
    public Date getCreatedOn() {
25
        return createdOn;
12✔
26
    }
27

28
    public void setCreatedOn(Date createdOn) {
29
        this.createdOn = createdOn;
23✔
30
    }
23✔
31

32
    public String getEmail() {
33
        return email;
12✔
34
    }
35

36
    public void setEmail(String email) {
37
        this.email = email;
23✔
38
    }
23✔
39

40
    public String getToken() {
41
        return token;
12✔
42
    }
43

44
    public void setToken(String token) {
45
        this.token = token;
23✔
46
    }
23✔
47

48
    public EType getType() {
49
        return type;
12✔
50
    }
51

52
    public void setType(EType type) {
53
        this.type = type;
23✔
54
    }
23✔
55

56
    public HyperwalletAccount token(String token) {
57
        setToken(token);
21✔
58
        return this;
21✔
59
    }
60

61
    public HyperwalletAccount type(EType type) {
62
        setType(type);
21✔
63
        return this;
21✔
64
    }
65

66
    public HyperwalletAccount createdOn(Date createdOn) {
67
        setCreatedOn(createdOn);
21✔
68
        return this;
21✔
69
    }
70

71
    public HyperwalletAccount email(String email) {
72
        setEmail(email);
21✔
73
        return this;
21✔
74
    }
75

76
    public List<HyperwalletLink> getLinks() {
77
        return links;
12✔
78
    }
79

80
    public void setLinks(List<HyperwalletLink> links) {
81
        this.links = links;
23✔
82
    }
23✔
83

84
    public HyperwalletAccount links(List<HyperwalletLink> links) {
85
        setLinks(links);
21✔
86
        return this;
21✔
87
    }
88
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc