-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathPayInPaymentDetailsBlik.java
77 lines (61 loc) · 2 KB
/
PayInPaymentDetailsBlik.java
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.mangopay.entities.subentities;
import com.google.gson.annotations.SerializedName;
import com.mangopay.core.Dto;
import com.mangopay.core.interfaces.PayInPaymentDetails;
/**
* Class representing the BLIK type for mean of payment in PayIn entity.
*/
public class PayInPaymentDetailsBlik extends Dto implements PayInPaymentDetails {
/**
* An optional value to be specified on the user's bank statement
*/
@SerializedName("StatementDescriptor")
private String statementDescriptor;
/// Blik with "code" ///
/**
* The 6-digit code from the user’s banking application.
* Required when creating a Blik PayIn with code.
*/
@SerializedName("Code")
private String code;
/**
* The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
* Required when creating a Blik PayIn with code.
*/
@SerializedName("IpAddress")
private String ipAddress;
/**
* Information about the browser used by the end user (author) to perform the payment.
* Required when creating a Blik PayIn with code.
*/
@SerializedName("BrowserInfo")
private BrowserInfo browserInfo;
public String getStatementDescriptor() {
return statementDescriptor;
}
public PayInPaymentDetailsBlik setStatementDescriptor(String statementDescriptor) {
this.statementDescriptor = statementDescriptor;
return this;
}
public BrowserInfo getBrowserInfo() {
return browserInfo;
}
public PayInPaymentDetailsBlik setBrowserInfo(BrowserInfo browserInfo) {
this.browserInfo = browserInfo;
return this;
}
public String getIpAddress() {
return ipAddress;
}
public PayInPaymentDetailsBlik setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
public String getCode() {
return code;
}
public PayInPaymentDetailsBlik setCode(String code) {
this.code = code;
return this;
}
}