File tree Expand file tree Collapse file tree 7 files changed +15
-12
lines changed
src/main/java/com/postfinancecheckout/sdk/model Expand file tree Collapse file tree 7 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Add this dependency to your project's POM:
23
23
<dependency >
24
24
<groupId >com.postfinancecheckout</groupId >
25
25
<artifactId >postfinancecheckout-java-sdk</artifactId >
26
- <version >2.2.12 </version >
26
+ <version >2.2.13 </version >
27
27
<scope >compile</scope >
28
28
</dependency >
29
29
```
@@ -33,7 +33,7 @@ Add this dependency to your project's POM:
33
33
Add this dependency to your project's build file:
34
34
35
35
``` groovy
36
- compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.12 "
36
+ compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.13 "
37
37
```
38
38
39
39
### Others
@@ -46,7 +46,7 @@ mvn clean package
46
46
47
47
Then manually install the following JARs:
48
48
49
- * ` target/postfinancecheckout-java-sdk-2.2.12 .jar `
49
+ * ` target/postfinancecheckout-java-sdk-2.2.13 .jar `
50
50
* ` target/lib/*.jar `
51
51
52
52
## Usage
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'idea'
2
2
apply plugin : ' eclipse'
3
3
4
4
group = ' com.postfinancecheckout'
5
- version = ' 2.2.12 '
5
+ version = ' 2.2.13 '
6
6
7
7
buildscript {
8
8
repositories {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
2
2
settings(
3
3
organization := " com.postfinancecheckout" ,
4
4
name := " postfinancecheckout-java-sdk" ,
5
- version := " 2.2.12 " ,
5
+ version := " 2.2.13 " ,
6
6
scalaVersion := " 2.11.4" ,
7
7
scalacOptions ++= Seq (" -feature" ),
8
8
javacOptions in compile ++= Seq (" -Xlint:deprecation" ),
Original file line number Diff line number Diff line change 5
5
<artifactId >postfinancecheckout-java-sdk</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >postfinancecheckout-java-sdk</name >
8
- <version >2.2.12 </version >
8
+ <version >2.2.13 </version >
9
9
<url >https://www.postfinance.ch/checkout</url >
10
10
<description >The SDK for simplifying the integration with PostFinance Checkout API.</description >
11
11
<scm >
Original file line number Diff line number Diff line change 25
25
import com .fasterxml .jackson .annotation .JsonCreator ;
26
26
import com .fasterxml .jackson .annotation .JsonValue ;
27
27
import com .postfinancecheckout .sdk .model .BankTransaction ;
28
+ import com .postfinancecheckout .sdk .model .Transaction ;
28
29
import com .postfinancecheckout .sdk .model .TransactionAwareEntity ;
29
30
import io .swagger .annotations .ApiModel ;
30
31
import io .swagger .annotations .ApiModelProperty ;
@@ -56,7 +57,7 @@ public class ChargeBankTransaction extends TransactionAwareEntity {
56
57
57
58
58
59
@ JsonProperty ("transaction" )
59
- protected Long transaction = null ;
60
+ protected Transaction transaction = null ;
60
61
61
62
62
63
@ JsonProperty ("transactionCurrencyAmount" )
@@ -117,7 +118,7 @@ public Long getSpaceViewId() {
117
118
* @return transaction
118
119
**/
119
120
@ ApiModelProperty (value = "" )
120
- public Long getTransaction () {
121
+ public Transaction getTransaction () {
121
122
return transaction ;
122
123
}
123
124
Original file line number Diff line number Diff line change 25
25
import com .fasterxml .jackson .annotation .JsonCreator ;
26
26
import com .fasterxml .jackson .annotation .JsonValue ;
27
27
import com .postfinancecheckout .sdk .model .BankTransaction ;
28
+ import com .postfinancecheckout .sdk .model .Refund ;
28
29
import com .postfinancecheckout .sdk .model .TransactionAwareEntity ;
29
30
import io .swagger .annotations .ApiModel ;
30
31
import io .swagger .annotations .ApiModelProperty ;
@@ -48,7 +49,7 @@ public class RefundBankTransaction extends TransactionAwareEntity {
48
49
49
50
50
51
@ JsonProperty ("refund" )
51
- protected Long refund = null ;
52
+ protected Refund refund = null ;
52
53
53
54
54
55
@ JsonProperty ("refundCurrencyAmount" )
@@ -93,7 +94,7 @@ public String getLanguage() {
93
94
* @return refund
94
95
**/
95
96
@ ApiModelProperty (value = "" )
96
- public Long getRefund () {
97
+ public Refund getRefund () {
97
98
return refund ;
98
99
}
99
100
Original file line number Diff line number Diff line change 26
26
import com .fasterxml .jackson .annotation .JsonValue ;
27
27
import com .postfinancecheckout .sdk .model .BankTransaction ;
28
28
import com .postfinancecheckout .sdk .model .LineItem ;
29
+ import com .postfinancecheckout .sdk .model .Refund ;
29
30
import com .postfinancecheckout .sdk .model .TransactionAwareEntity ;
30
31
import io .swagger .annotations .ApiModel ;
31
32
import io .swagger .annotations .ApiModelProperty ;
@@ -55,7 +56,7 @@ public class RefundRecoveryBankTransaction extends TransactionAwareEntity {
55
56
56
57
57
58
@ JsonProperty ("refund" )
58
- protected Long refund = null ;
59
+ protected Refund refund = null ;
59
60
60
61
61
62
@ JsonProperty ("refundCurrencyAmount" )
@@ -110,7 +111,7 @@ public List<LineItem> getLineItems() {
110
111
* @return refund
111
112
**/
112
113
@ ApiModelProperty (value = "" )
113
- public Long getRefund () {
114
+ public Refund getRefund () {
114
115
return refund ;
115
116
}
116
117
You can’t perform that action at this time.
0 commit comments