Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Jan 24, 2024
1 parent 169e29c commit 8afebf4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ paths:
Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode:
recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion:
\ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth:
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"22\"),\n\t\tCvv:
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"30\"),\n\t\tCvv:
\ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif
e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation
{\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
Expand Down Expand Up @@ -24833,6 +24833,8 @@ components:
a transaction. Pass this value to Recurly.js so it can continue
the challenge flow.
maxLength: 22
fraud_info:
"$ref": "#/components/schemas/TransactionFraudInfo"
RelatedTypeEnum:
type: string
enum:
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/com/recurly/v3/resources/TransactionError.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public class TransactionError extends Resource {
@Expose
private Constants.DeclineCode declineCode;

/** Fraud information */
@SerializedName("fraud_info")
@Expose
private TransactionFraudInfo fraudInfo;

/** Merchant message */
@SerializedName("merchant_advice")
@Expose
Expand Down Expand Up @@ -85,6 +90,16 @@ public void setDeclineCode(final Constants.DeclineCode declineCode) {
this.declineCode = declineCode;
}

/** Fraud information */
public TransactionFraudInfo getFraudInfo() {
return this.fraudInfo;
}

/** @param fraudInfo Fraud information */
public void setFraudInfo(final TransactionFraudInfo fraudInfo) {
this.fraudInfo = fraudInfo;
}

/** Merchant message */
public String getMerchantAdvice() {
return this.merchantAdvice;
Expand Down

0 comments on commit 8afebf4

Please sign in to comment.