Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 #814

Merged
merged 1 commit into from
Jan 24, 2024
Merged
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
4 changes: 4 additions & 0 deletions Recurly/Resources/TransactionError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public class TransactionError : Resource
[JsonConverter(typeof(RecurlyStringEnumConverter))]
public Constants.DeclineCode? DeclineCode { get; set; }

/// <value>Fraud information</value>
[JsonProperty("fraud_info")]
public TransactionFraudInfo FraudInfo { get; set; }

/// <value>Merchant message</value>
[JsonProperty("merchant_advice")]
public string MerchantAdvice { get; set; }
Expand Down
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
Loading