Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/PtsV2CreateOrderPost201Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | A unique identification number assigned by CyberSource to identify the order request. Use this id to call subsequent services such as the authorization API. | [optional]
**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]
**updateTimeUtc** | **String** | The date and time when the request was last updated. **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). | [optional]
**status** | **String** | The status of the submitted transaction. Possible values: - CREATED - SAVED - APPROVED - VOIDED - COMPLETED - PAYER_ACTION_REQUIRED | [optional]
Expand Down
4 changes: 4 additions & 0 deletions generator/cybersource-rest-spec-java.json
Original file line number Diff line number Diff line change
Expand Up @@ -47969,6 +47969,10 @@
"title": "ptsV2CreateOrderPost201Response",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique identification number assigned by CyberSource to identify the order request. Use this id to call subsequent services such as the authorization API."
},
"submitTimeUtc": {
"type": "string",
"description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n"
Expand Down
4 changes: 4 additions & 0 deletions generator/cybersource-rest-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -47969,6 +47969,10 @@
"title": "ptsV2CreateOrderPost201Response",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique identification number assigned by CyberSource to identify the order request. Use this id to call subsequent services such as the authorization API."
},
"submitTimeUtc": {
"type": "string",
"description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n"
Expand Down
27 changes: 25 additions & 2 deletions src/main/java/Model/PtsV2CreateOrderPost201Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

public class PtsV2CreateOrderPost201Response {
@SerializedName("id")
private String id = null;

@SerializedName("submitTimeUtc")
private String submitTimeUtc = null;

Expand All @@ -57,6 +60,24 @@ public class PtsV2CreateOrderPost201Response {
@SerializedName("buyerInformation")
private PtsV2CreateOrderPost201ResponseBuyerInformation buyerInformation = null;

public PtsV2CreateOrderPost201Response id(String id) {
this.id = id;
return this;
}

/**
* A unique identification number assigned by CyberSource to identify the order request. Use this id to call subsequent services such as the authorization API.
* @return id
**/
@ApiModelProperty(value = "A unique identification number assigned by CyberSource to identify the order request. Use this id to call subsequent services such as the authorization API.")
public String getId() {
return id;
}

public void setId(String id) {
this.id = id;
}

public PtsV2CreateOrderPost201Response submitTimeUtc(String submitTimeUtc) {
this.submitTimeUtc = submitTimeUtc;
return this;
Expand Down Expand Up @@ -211,7 +232,8 @@ public boolean equals(java.lang.Object o) {
return false;
}
PtsV2CreateOrderPost201Response ptsV2CreateOrderPost201Response = (PtsV2CreateOrderPost201Response) o;
return Objects.equals(this.submitTimeUtc, ptsV2CreateOrderPost201Response.submitTimeUtc) &&
return Objects.equals(this.id, ptsV2CreateOrderPost201Response.id) &&
Objects.equals(this.submitTimeUtc, ptsV2CreateOrderPost201Response.submitTimeUtc) &&
Objects.equals(this.updateTimeUtc, ptsV2CreateOrderPost201Response.updateTimeUtc) &&
Objects.equals(this.status, ptsV2CreateOrderPost201Response.status) &&
Objects.equals(this.reconciliationId, ptsV2CreateOrderPost201Response.reconciliationId) &&
Expand All @@ -223,7 +245,7 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(submitTimeUtc, updateTimeUtc, status, reconciliationId, clientReferenceInformation, processorInformation, paymentInformation, buyerInformation);
return Objects.hash(id, submitTimeUtc, updateTimeUtc, status, reconciliationId, clientReferenceInformation, processorInformation, paymentInformation, buyerInformation);
}


Expand All @@ -232,6 +254,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PtsV2CreateOrderPost201Response {\n");

if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n");
if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n");
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
Expand Down