You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Model/Ptsv2paymentsPaymentInformationBank.cs
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,12 @@ public partial class Ptsv2paymentsPaymentInformationBank : IEquatable<Ptsv2paym
35
35
/// </summary>
36
36
/// <param name="Account">Account.</param>
37
37
/// <param name="RoutingNumber">Bank routing number. This is also called the _transit number_. For details, see `ecp_rdfi` request field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/) .</param>
/// <param name="Iban">International Bank Account Number (IBAN) for the bank account. For some countries you can provide this number instead of the traditional bank account information. You can use this field only when scoring a direct debit transaction. For all possible values, see the `bank_iban` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link). .</param>
/// International Bank Account Number (IBAN) for the bank account. For some countries you can provide this number instead of the traditional bank account information. You can use this field only when scoring a direct debit transaction. For all possible values, see the `bank_iban` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
61
+
/// </summary>
62
+
/// <value>International Bank Account Number (IBAN) for the bank account. For some countries you can provide this number instead of the traditional bank account information. You can use this field only when scoring a direct debit transaction. For all possible values, see the `bank_iban` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link). </value>
63
+
[DataMember(Name="iban",EmitDefaultValue=false)]
64
+
publicstringIban{get;set;}
65
+
57
66
/// <summary>
58
67
/// Returns the string presentation of the object
59
68
/// </summary>
@@ -64,6 +73,7 @@ public override string ToString()
@@ -109,6 +119,11 @@ public bool Equals(Ptsv2paymentsPaymentInformationBank other)
109
119
this.RoutingNumber==other.RoutingNumber||
110
120
this.RoutingNumber!=null&&
111
121
this.RoutingNumber.Equals(other.RoutingNumber)
122
+
)&&
123
+
(
124
+
this.Iban==other.Iban||
125
+
this.Iban!=null&&
126
+
this.Iban.Equals(other.Iban)
112
127
);
113
128
}
114
129
@@ -127,6 +142,8 @@ public override int GetHashCode()
127
142
hash=hash*59+this.Account.GetHashCode();
128
143
if(this.RoutingNumber!=null)
129
144
hash=hash*59+this.RoutingNumber.GetHashCode();
145
+
if(this.Iban!=null)
146
+
hash=hash*59+this.Iban.GetHashCode();
130
147
returnhash;
131
148
}
132
149
}
@@ -144,6 +161,12 @@ public override int GetHashCode()
144
161
yieldreturnnewSystem.ComponentModel.DataAnnotations.ValidationResult("Invalid value for RoutingNumber, length must be less than or equal to 9.",new[]{"RoutingNumber"});
145
162
}
146
163
164
+
// Iban (string) maxLength
165
+
if(this.Iban!=null&&this.Iban.Length>=50)
166
+
{
167
+
yieldreturnnewSystem.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Iban, length must be less than or equal to 50.",new[]{"Iban"});
0 commit comments