Skip to content

Commit 8aa39ea

Browse files
committed
sdklinks change
1 parent 59c9e5e commit 8aa39ea

File tree

7 files changed

+47
-47
lines changed

7 files changed

+47
-47
lines changed

docs/InvoicesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Method | HTTP request | Description
77
[**createInvoice**](InvoicesApi.md#createInvoice) | **POST** /invoicing/v2/invoices | Create a New Invoice
88
[**getAllInvoices**](InvoicesApi.md#getAllInvoices) | **GET** /invoicing/v2/invoices | Get a List of Invoices
99
[**getInvoice**](InvoicesApi.md#getInvoice) | **GET** /invoicing/v2/invoices/{id} | Get Invoice Details
10-
[**performCancelAction**](InvoicesApi.md#performCancelAction) | **POST** /invoicing/v2/invoices{id}/cancelation | Cancel an Invoice
10+
[**performCancelAction**](InvoicesApi.md#performCancelAction) | **POST** /invoicing/v2/invoices/{id}/cancelation | Cancel an Invoice
1111
[**performSendAction**](InvoicesApi.md#performSendAction) | **POST** /invoicing/v2/invoices/{id}/delivery | Send an Invoice
1212
[**updateInvoice**](InvoicesApi.md#updateInvoice) | **PUT** /invoicing/v2/invoices/{id} | Update an Invoice
1313

docs/PblPaymentLinksAllGet200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**links** | [**GetAllPlansResponseLinks**](GetAllPlansResponseLinks.md) | | [optional]
88
**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional]
99
**totalLinks** | **Integer** | | [optional]
10-
**links** | [**List<PblPaymentLinksAllGet200ResponseLinks>**](PblPaymentLinksAllGet200ResponseLinks.md) | | [optional]
10+
**sdkLinks** | [**List<PblPaymentLinksAllGet200ResponseSdkLinks>**](PblPaymentLinksAllGet200ResponseSdkLinks.md) | | [optional]
1111

1212

1313

docs/PblPaymentLinksAllGet200ResponseLinks.md renamed to docs/PblPaymentLinksAllGet200ResponseSdkLinks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# PblPaymentLinksAllGet200ResponseLinks
2+
# PblPaymentLinksAllGet200ResponseSdkLinks
33

44
## Properties
55
Name | Type | Description | Notes

generator/cybersource-rest-spec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115393,7 +115393,7 @@
115393115393
}
115394115394
}
115395115395
},
115396-
"/invoicing/v2/invoices{id}/cancelation": {
115396+
"/invoicing/v2/invoices/{id}/cancelation": {
115397115397
"post": {
115398115398
"tags": [
115399115399
"Invoices"
@@ -117268,7 +117268,7 @@
117268117268
"totalLinks": {
117269117269
"type": "integer"
117270117270
},
117271-
"links": {
117271+
"sdkLinks": {
117272117272
"type": "array",
117273117273
"items": {
117274117274
"type": "object",

src/main/java/Api/InvoicesApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public okhttp3.Call performCancelActionCall(String id, final ProgressResponseBod
550550
}
551551

552552
// create path and map variables
553-
String localVarPath = "/invoicing/v2/invoices{id}/cancelation"
553+
String localVarPath = "/invoicing/v2/invoices/{id}/cancelation"
554554
.replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
555555

556556
List<Pair> localVarQueryParams = new ArrayList<Pair>();

src/main/java/Model/PblPaymentLinksAllGet200Response.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Objects;
1717
import java.util.Arrays;
1818
import Model.GetAllPlansResponseLinks;
19-
import Model.PblPaymentLinksAllGet200ResponseLinks;
19+
import Model.PblPaymentLinksAllGet200ResponseSdkLinks;
2020
import com.google.gson.TypeAdapter;
2121
import com.google.gson.annotations.JsonAdapter;
2222
import com.google.gson.annotations.SerializedName;
@@ -34,7 +34,7 @@
3434

3535
public class PblPaymentLinksAllGet200Response {
3636
@SerializedName("_links")
37-
private GetAllPlansResponseLinks plansLinks = null;
37+
private GetAllPlansResponseLinks links = null;
3838

3939
@SerializedName("submitTimeUtc")
4040
private String submitTimeUtc = null;
@@ -43,10 +43,10 @@ public class PblPaymentLinksAllGet200Response {
4343
private Integer totalLinks = null;
4444

4545
@SerializedName("links")
46-
private List<PblPaymentLinksAllGet200ResponseLinks> links = null;
46+
private List<PblPaymentLinksAllGet200ResponseSdkLinks> sdkLinks = null;
4747

4848
public PblPaymentLinksAllGet200Response links(GetAllPlansResponseLinks links) {
49-
this.plansLinks = plansLinks;
49+
this.links = links;
5050
return this;
5151
}
5252

@@ -55,12 +55,12 @@ public PblPaymentLinksAllGet200Response links(GetAllPlansResponseLinks links) {
5555
* @return links
5656
**/
5757
@ApiModelProperty(value = "")
58-
public GetAllPlansResponseLinks getPlanLinks() {
59-
return plansLinks;
58+
public GetAllPlansResponseLinks getLinks() {
59+
return links;
6060
}
6161

62-
public void setPlanLinks(GetAllPlansResponseLinks links) {
63-
this.plansLinks = plansLinks;
62+
public void setLinks(GetAllPlansResponseLinks links) {
63+
this.links = links;
6464
}
6565

6666
public PblPaymentLinksAllGet200Response submitTimeUtc(String submitTimeUtc) {
@@ -99,30 +99,30 @@ public void setTotalLinks(Integer totalLinks) {
9999
this.totalLinks = totalLinks;
100100
}
101101

102-
public PblPaymentLinksAllGet200Response links(List<PblPaymentLinksAllGet200ResponseLinks> links) {
103-
this.links = links;
102+
public PblPaymentLinksAllGet200Response sdkLinks(List<PblPaymentLinksAllGet200ResponseSdkLinks> sdkLinks) {
103+
this.sdkLinks = sdkLinks;
104104
return this;
105105
}
106106

107-
public PblPaymentLinksAllGet200Response addLinksItem(PblPaymentLinksAllGet200ResponseLinks linksItem) {
108-
if (this.links == null) {
109-
this.links = new ArrayList<PblPaymentLinksAllGet200ResponseLinks>();
107+
public PblPaymentLinksAllGet200Response addSdkLinksItem(PblPaymentLinksAllGet200ResponseSdkLinks sdkLinksItem) {
108+
if (this.sdkLinks == null) {
109+
this.sdkLinks = new ArrayList<PblPaymentLinksAllGet200ResponseSdkLinks>();
110110
}
111-
this.links.add(linksItem);
111+
this.sdkLinks.add(sdkLinksItem);
112112
return this;
113113
}
114114

115115
/**
116-
* Get links
117-
* @return links
116+
* Get sdkLinks
117+
* @return sdkLinks
118118
**/
119119
@ApiModelProperty(value = "")
120-
public List<PblPaymentLinksAllGet200ResponseLinks> getLinks() {
121-
return links;
120+
public List<PblPaymentLinksAllGet200ResponseSdkLinks> getSdkLinks() {
121+
return sdkLinks;
122122
}
123123

124-
public void setLinks(List<PblPaymentLinksAllGet200ResponseLinks> links) {
125-
this.links = links;
124+
public void setSdkLinks(List<PblPaymentLinksAllGet200ResponseSdkLinks> sdkLinks) {
125+
this.sdkLinks = sdkLinks;
126126
}
127127

128128

@@ -135,15 +135,15 @@ public boolean equals(java.lang.Object o) {
135135
return false;
136136
}
137137
PblPaymentLinksAllGet200Response pblPaymentLinksAllGet200Response = (PblPaymentLinksAllGet200Response) o;
138-
return Objects.equals(this.plansLinks, pblPaymentLinksAllGet200Response.plansLinks) &&
138+
return Objects.equals(this.links, pblPaymentLinksAllGet200Response.links) &&
139139
Objects.equals(this.submitTimeUtc, pblPaymentLinksAllGet200Response.submitTimeUtc) &&
140140
Objects.equals(this.totalLinks, pblPaymentLinksAllGet200Response.totalLinks) &&
141-
Objects.equals(this.links, pblPaymentLinksAllGet200Response.links);
141+
Objects.equals(this.sdkLinks, pblPaymentLinksAllGet200Response.sdkLinks);
142142
}
143143

144144
@Override
145145
public int hashCode() {
146-
return Objects.hash(plansLinks, submitTimeUtc, totalLinks, links);
146+
return Objects.hash(links, submitTimeUtc, totalLinks, sdkLinks);
147147
}
148148

149149

@@ -155,7 +155,7 @@ public String toString() {
155155
if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n");
156156
if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
157157
if (totalLinks != null) sb.append(" totalLinks: ").append(toIndentedString(totalLinks)).append("\n");
158-
if (plansLinks != null) sb.append(" plansLinks: ").append(toIndentedString(plansLinks)).append("\n");
158+
if (sdkLinks != null) sb.append(" sdkLinks: ").append(toIndentedString(sdkLinks)).append("\n");
159159
sb.append("}");
160160
return sb.toString();
161161
}

src/main/java/Model/PblPaymentLinksAllGet200ResponseLinks.java renamed to src/main/java/Model/PblPaymentLinksAllGet200ResponseSdkLinks.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*/
3434
@ApiModel(description = "A list of purchase or donation links.")
3535

36-
public class PblPaymentLinksAllGet200ResponseLinks {
36+
public class PblPaymentLinksAllGet200ResponseSdkLinks {
3737
@SerializedName("_links")
3838
private GetAllPlansResponseLinks links = null;
3939

@@ -55,7 +55,7 @@ public class PblPaymentLinksAllGet200ResponseLinks {
5555
@SerializedName("orderInformation")
5656
private PblPaymentLinksAllGet200ResponseOrderInformation orderInformation = null;
5757

58-
public PblPaymentLinksAllGet200ResponseLinks links(GetAllPlansResponseLinks links) {
58+
public PblPaymentLinksAllGet200ResponseSdkLinks links(GetAllPlansResponseLinks links) {
5959
this.links = links;
6060
return this;
6161
}
@@ -73,7 +73,7 @@ public void setLinks(GetAllPlansResponseLinks links) {
7373
this.links = links;
7474
}
7575

76-
public PblPaymentLinksAllGet200ResponseLinks id(String id) {
76+
public PblPaymentLinksAllGet200ResponseSdkLinks id(String id) {
7777
this.id = id;
7878
return this;
7979
}
@@ -91,7 +91,7 @@ public void setId(String id) {
9191
this.id = id;
9292
}
9393

94-
public PblPaymentLinksAllGet200ResponseLinks status(String status) {
94+
public PblPaymentLinksAllGet200ResponseSdkLinks status(String status) {
9595
this.status = status;
9696
return this;
9797
}
@@ -109,7 +109,7 @@ public void setStatus(String status) {
109109
this.status = status;
110110
}
111111

112-
public PblPaymentLinksAllGet200ResponseLinks createdDate(String createdDate) {
112+
public PblPaymentLinksAllGet200ResponseSdkLinks createdDate(String createdDate) {
113113
this.createdDate = createdDate;
114114
return this;
115115
}
@@ -127,7 +127,7 @@ public void setCreatedDate(String createdDate) {
127127
this.createdDate = createdDate;
128128
}
129129

130-
public PblPaymentLinksAllGet200ResponseLinks processingInformation(PblPaymentLinksAllGet200ResponseProcessingInformation processingInformation) {
130+
public PblPaymentLinksAllGet200ResponseSdkLinks processingInformation(PblPaymentLinksAllGet200ResponseProcessingInformation processingInformation) {
131131
this.processingInformation = processingInformation;
132132
return this;
133133
}
@@ -145,7 +145,7 @@ public void setProcessingInformation(PblPaymentLinksAllGet200ResponseProcessingI
145145
this.processingInformation = processingInformation;
146146
}
147147

148-
public PblPaymentLinksAllGet200ResponseLinks purchaseInformation(PblPaymentLinksAllGet200ResponsePurchaseInformation purchaseInformation) {
148+
public PblPaymentLinksAllGet200ResponseSdkLinks purchaseInformation(PblPaymentLinksAllGet200ResponsePurchaseInformation purchaseInformation) {
149149
this.purchaseInformation = purchaseInformation;
150150
return this;
151151
}
@@ -163,7 +163,7 @@ public void setPurchaseInformation(PblPaymentLinksAllGet200ResponsePurchaseInfor
163163
this.purchaseInformation = purchaseInformation;
164164
}
165165

166-
public PblPaymentLinksAllGet200ResponseLinks orderInformation(PblPaymentLinksAllGet200ResponseOrderInformation orderInformation) {
166+
public PblPaymentLinksAllGet200ResponseSdkLinks orderInformation(PblPaymentLinksAllGet200ResponseOrderInformation orderInformation) {
167167
this.orderInformation = orderInformation;
168168
return this;
169169
}
@@ -190,14 +190,14 @@ public boolean equals(java.lang.Object o) {
190190
if (o == null || getClass() != o.getClass()) {
191191
return false;
192192
}
193-
PblPaymentLinksAllGet200ResponseLinks pblPaymentLinksAllGet200ResponseLinks = (PblPaymentLinksAllGet200ResponseLinks) o;
194-
return Objects.equals(this.links, pblPaymentLinksAllGet200ResponseLinks.links) &&
195-
Objects.equals(this.id, pblPaymentLinksAllGet200ResponseLinks.id) &&
196-
Objects.equals(this.status, pblPaymentLinksAllGet200ResponseLinks.status) &&
197-
Objects.equals(this.createdDate, pblPaymentLinksAllGet200ResponseLinks.createdDate) &&
198-
Objects.equals(this.processingInformation, pblPaymentLinksAllGet200ResponseLinks.processingInformation) &&
199-
Objects.equals(this.purchaseInformation, pblPaymentLinksAllGet200ResponseLinks.purchaseInformation) &&
200-
Objects.equals(this.orderInformation, pblPaymentLinksAllGet200ResponseLinks.orderInformation);
193+
PblPaymentLinksAllGet200ResponseSdkLinks pblPaymentLinksAllGet200ResponseSdkLinks = (PblPaymentLinksAllGet200ResponseSdkLinks) o;
194+
return Objects.equals(this.links, pblPaymentLinksAllGet200ResponseSdkLinks.links) &&
195+
Objects.equals(this.id, pblPaymentLinksAllGet200ResponseSdkLinks.id) &&
196+
Objects.equals(this.status, pblPaymentLinksAllGet200ResponseSdkLinks.status) &&
197+
Objects.equals(this.createdDate, pblPaymentLinksAllGet200ResponseSdkLinks.createdDate) &&
198+
Objects.equals(this.processingInformation, pblPaymentLinksAllGet200ResponseSdkLinks.processingInformation) &&
199+
Objects.equals(this.purchaseInformation, pblPaymentLinksAllGet200ResponseSdkLinks.purchaseInformation) &&
200+
Objects.equals(this.orderInformation, pblPaymentLinksAllGet200ResponseSdkLinks.orderInformation);
201201
}
202202

203203
@Override
@@ -209,7 +209,7 @@ public int hashCode() {
209209
@Override
210210
public String toString() {
211211
StringBuilder sb = new StringBuilder();
212-
sb.append("class PblPaymentLinksAllGet200ResponseLinks {\n");
212+
sb.append("class PblPaymentLinksAllGet200ResponseSdkLinks {\n");
213213

214214
if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n");
215215
if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n");

0 commit comments

Comments
 (0)