Skip to content

Commit

Permalink
Update generated code for v674
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 18, 2023
1 parent e8ee7f9 commit 13c8614
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v673
v674
35 changes: 35 additions & 0 deletions src/main/java/com/stripe/model/issuing/Authorization.java
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,20 @@ public static class NetworkData extends StripeObject {
*/
@SerializedName("acquiring_institution_id")
String acquiringInstitutionId;

/**
* The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer
* {@code network_data.transaction_id} if present, unless you have special requirements.
*/
@SerializedName("system_trace_audit_number")
String systemTraceAuditNumber;

/**
* Unique identifier for the authorization assigned by the card network used to match subsequent
* messages, disputes, and transactions.
*/
@SerializedName("transaction_id")
String transactionId;
}

@Getter
Expand Down Expand Up @@ -731,6 +745,13 @@ public static class PendingRequest extends StripeObject {
@SerializedName("merchant_currency")
String merchantCurrency;

/**
* The card network's estimate of the likelihood that an authorization is fraudulent. Takes on
* values between 1 and 99.
*/
@SerializedName("network_risk_score")
Long networkRiskScore;

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down Expand Up @@ -809,6 +830,13 @@ public static class RequestHistory extends StripeObject {
@SerializedName("merchant_currency")
String merchantCurrency;

/**
* The card network's estimate of the likelihood that an authorization is fraudulent. Takes on
* values between 1 and 99.
*/
@SerializedName("network_risk_score")
Long networkRiskScore;

/**
* When an authorization is approved or declined by you or by Stripe, this field provides
* additional detail on the reason for the outcome.
Expand All @@ -830,6 +858,13 @@ public static class RequestHistory extends StripeObject {
@SerializedName("reason_message")
String reasonMessage;

/**
* Time when the card network received an authorization request from the acquirer in UTC.
* Referred to by networks as transmission time.
*/
@SerializedName("requested_at")
Long requestedAt;

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down
17 changes: 17 additions & 0 deletions src/main/java/com/stripe/model/issuing/Transaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -517,13 +517,30 @@ public static class MerchantData extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class NetworkData extends StripeObject {
/**
* A code created by Stripe which is shared with the merchant to validate the authorization.
* This field will be populated if the authorization message was approved. The code typically
* starts with the letter "S", followed by a six-digit number. For example,
* "S498162". Please note that the code is not guaranteed to be unique across
* authorizations.
*/
@SerializedName("authorization_code")
String authorizationCode;

/**
* The date the transaction was processed by the card network. This can be different from the
* date the seller recorded the transaction depending on when the acquirer submits the
* transaction to the network.
*/
@SerializedName("processing_date")
String processingDate;

/**
* Unique identifier for the authorization assigned by the card network used to match subsequent
* messages, disputes, and transactions.
*/
@SerializedName("transaction_id")
String transactionId;
}

@Getter
Expand Down

0 comments on commit 13c8614

Please sign in to comment.