1 package com.srv4pos.server.api.infrastructure.credentials;
2
3 import com.srv4pos.server.api.infrastructure.http.HttpHelper;
4
5
6
7
8
9
10 public class SellerCredentials implements Credentials {
11
12
13 protected String country;
14 protected String corporateId;
15
16
17 public SellerCredentials(String country, String corporateId) {
18 this.country = country;
19 this.corporateId = corporateId;
20 }
21
22
23
24
25
26 public String toAuthentication() {
27 return null;
28 }
29
30
31
32
33
34 public String getSellerId() {
35 return HttpHelper.getSellerId(country, corporateId);
36 }
37
38 public String getCountry() {
39 return country;
40 }
41
42 public String getCorporateId() {
43 return corporateId;
44 }
45 }