Skip to content

Commit aeb0c5a

Browse files
authored
Merge pull request #122 from CyberSource/Nov_2021_Changes
Changes for November 2021 SDK Release
2 parents 397a129 + 1f2a533 commit aeb0c5a

File tree

63 files changed

+1631
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1631
-84
lines changed

Api/InvoicesApi.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > CreateInvoiceWithHttpIn
457457

458458
// to determine the Accept header
459459
string[] localVarHttpHeaderAccepts = new string[] {
460-
"application/hal+json;charset=utf-8"
460+
"application/json;charset=utf-8"
461461
};
462462
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
463463
if (localVarHttpHeaderAccept != null)
@@ -552,7 +552,7 @@ public async System.Threading.Tasks.Task<ApiResponse<InvoicingV2InvoicesPost201R
552552

553553
// to determine the Accept header
554554
string[] localVarHttpHeaderAccepts = new string[] {
555-
"application/hal+json;charset=utf-8"
555+
"application/json;charset=utf-8"
556556
};
557557
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
558558
if (localVarHttpHeaderAccept != null)
@@ -655,7 +655,7 @@ public ApiResponse< InvoicingV2InvoicesAllGet200Response > GetAllInvoicesWithHtt
655655

656656
// to determine the Accept header
657657
string[] localVarHttpHeaderAccepts = new string[] {
658-
"application/hal+json;charset=utf-8"
658+
"application/json;charset=utf-8"
659659
};
660660
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
661661
if (localVarHttpHeaderAccept != null)
@@ -758,7 +758,7 @@ public async System.Threading.Tasks.Task<ApiResponse<InvoicingV2InvoicesAllGet20
758758

759759
// to determine the Accept header
760760
string[] localVarHttpHeaderAccepts = new string[] {
761-
"application/hal+json;charset=utf-8"
761+
"application/json;charset=utf-8"
762762
};
763763
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
764764
if (localVarHttpHeaderAccept != null)
@@ -849,7 +849,7 @@ public ApiResponse< InvoicingV2InvoicesGet200Response > GetInvoiceWithHttpInfo (
849849

850850
// to determine the Accept header
851851
string[] localVarHttpHeaderAccepts = new string[] {
852-
"application/hal+json;charset=utf-8"
852+
"application/json;charset=utf-8"
853853
};
854854
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
855855
if (localVarHttpHeaderAccept != null)
@@ -932,7 +932,7 @@ public async System.Threading.Tasks.Task<ApiResponse<InvoicingV2InvoicesGet200Re
932932

933933
// to determine the Accept header
934934
string[] localVarHttpHeaderAccepts = new string[] {
935-
"application/hal+json;charset=utf-8"
935+
"application/json;charset=utf-8"
936936
};
937937
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
938938
if (localVarHttpHeaderAccept != null)
@@ -1013,7 +1013,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > PerformCancelActionWith
10131013

10141014
// to determine the Accept header
10151015
string[] localVarHttpHeaderAccepts = new string[] {
1016-
"application/hal+json;charset=utf-8"
1016+
"application/json;charset=utf-8"
10171017
};
10181018
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
10191019
if (localVarHttpHeaderAccept != null)
@@ -1096,7 +1096,7 @@ public async System.Threading.Tasks.Task<ApiResponse<InvoicingV2InvoicesPost201R
10961096

10971097
// to determine the Accept header
10981098
string[] localVarHttpHeaderAccepts = new string[] {
1099-
"application/hal+json;charset=utf-8"
1099+
"application/json;charset=utf-8"
11001100
};
11011101
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
11021102
if (localVarHttpHeaderAccept != null)
@@ -1177,7 +1177,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > PerformSendActionWithHt
11771177

11781178
// to determine the Accept header
11791179
string[] localVarHttpHeaderAccepts = new string[] {
1180-
"application/hal+json;charset=utf-8"
1180+
"application/json;charset=utf-8"
11811181
};
11821182
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
11831183
if (localVarHttpHeaderAccept != null)
@@ -1260,7 +1260,7 @@ public async System.Threading.Tasks.Task<ApiResponse<InvoicingV2InvoicesPost201R
12601260

12611261
// to determine the Accept header
12621262
string[] localVarHttpHeaderAccepts = new string[] {
1263-
"application/hal+json;charset=utf-8"
1263+
"application/json;charset=utf-8"
12641264
};
12651265
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
12661266
if (localVarHttpHeaderAccept != null)
@@ -1349,7 +1349,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > UpdateInvoiceWithHttpIn
13491349

13501350
// to determine the Accept header
13511351
string[] localVarHttpHeaderAccepts = new string[] {
1352-
"application/hal+json;charset=utf-8"
1352+
"application/json;charset=utf-8"
13531353
};
13541354
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
13551355
if (localVarHttpHeaderAccept != null)
@@ -1457,7 +1457,7 @@ public async System.Threading.Tasks.Task<ApiResponse<InvoicingV2InvoicesPost201R
14571457

14581458
// to determine the Accept header
14591459
string[] localVarHttpHeaderAccepts = new string[] {
1460-
"application/hal+json;charset=utf-8"
1460+
"application/json;charset=utf-8"
14611461
};
14621462
string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
14631463
if (localVarHttpHeaderAccept != null)

Model/CreateSearchRequest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public partial class CreateSearchRequest : IEquatable<CreateSearchRequest>, IVa
3636
/// <param name="Save">Indicates whether or not you want to save this search request for future use. The options are: * &#x60;true&#x60; * &#x60;false&#x60; (default value) If set to &#x60;true&#x60;, this field returns &#x60;searchID&#x60; in the response. You can use this value to retrieve the details of the saved search. .</param>
3737
/// <param name="Name">Name of this search. When &#x60;save&#x60; is set to &#x60;true&#x60;, this search is saved with this name. .</param>
3838
/// <param name="Timezone">Merchant’s time zone in ISO standard, using the TZ database format. For example: &#x60;America/Chicago&#x60; .</param>
39-
/// <param name="Query">String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn_search_api/creating_txn_search_request.html) section of the Transaction Search Developer Guide. .</param>
39+
/// <param name="Query">String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn-search-intro/txn-filtering.html) section of the Transaction Search Developer Guide. .</param>
4040
/// <param name="Offset">Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit&#x3D;5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: &#x60;offset&#x3D;0&#x60; &#x60;offset&#x3D;5&#x60; &#x60;offset&#x3D;10&#x60; **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. .</param>
4141
/// <param name="Limit">Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2000. .</param>
4242
/// <param name="Sort">A comma separated list of the following form: &#x60;submitTimeUtc:desc&#x60; .</param>
@@ -73,9 +73,9 @@ public partial class CreateSearchRequest : IEquatable<CreateSearchRequest>, IVa
7373
public string Timezone { get; set; }
7474

7575
/// <summary>
76-
/// String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn_search_api/creating_txn_search_request.html) section of the Transaction Search Developer Guide.
76+
/// String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn-search-intro/txn-filtering.html) section of the Transaction Search Developer Guide.
7777
/// </summary>
78-
/// <value>String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn_search_api/creating_txn_search_request.html) section of the Transaction Search Developer Guide. </value>
78+
/// <value>String that contains the filters and variables for which you want to search. For information about supported field-filters and operators, see the [Query Filters]( https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn-search-intro/txn-filtering.html) section of the Transaction Search Developer Guide. </value>
7979
[DataMember(Name="query", EmitDefaultValue=false)]
8080
public string Query { get; set; }
8181

Model/PtsV2PaymentsPost201Response.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ public partial class PtsV2PaymentsPost201Response : IEquatable<PtsV2PaymentsPos
4949
/// <param name="PointOfSaleInformation">PointOfSaleInformation.</param>
5050
/// <param name="InstallmentInformation">InstallmentInformation.</param>
5151
/// <param name="TokenInformation">TokenInformation.</param>
52+
/// <param name="BuyerInformation">BuyerInformation.</param>
5253
/// <param name="RiskInformation">RiskInformation.</param>
5354
/// <param name="ConsumerAuthenticationInformation">ConsumerAuthenticationInformation.</param>
54-
public PtsV2PaymentsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), string ReconciliationId = default(string), PtsV2PaymentsPost201ResponseErrorInformation ErrorInformation = default(PtsV2PaymentsPost201ResponseErrorInformation), PtsV2PaymentsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(PtsV2PaymentsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseProcessingInformation ProcessingInformation = default(PtsV2PaymentsPost201ResponseProcessingInformation), PtsV2PaymentsPost201ResponseProcessorInformation ProcessorInformation = default(PtsV2PaymentsPost201ResponseProcessorInformation), PtsV2PaymentsPost201ResponseIssuerInformation IssuerInformation = default(PtsV2PaymentsPost201ResponseIssuerInformation), PtsV2PaymentsPost201ResponsePaymentAccountInformation PaymentAccountInformation = default(PtsV2PaymentsPost201ResponsePaymentAccountInformation), PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation = default(PtsV2PaymentsPost201ResponsePaymentInformation), PtsV2PaymentsPost201ResponseOrderInformation OrderInformation = default(PtsV2PaymentsPost201ResponseOrderInformation), PtsV2PaymentsPost201ResponsePointOfSaleInformation PointOfSaleInformation = default(PtsV2PaymentsPost201ResponsePointOfSaleInformation), PtsV2PaymentsPost201ResponseInstallmentInformation InstallmentInformation = default(PtsV2PaymentsPost201ResponseInstallmentInformation), PtsV2PaymentsPost201ResponseTokenInformation TokenInformation = default(PtsV2PaymentsPost201ResponseTokenInformation), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation))
55+
public PtsV2PaymentsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), string ReconciliationId = default(string), PtsV2PaymentsPost201ResponseErrorInformation ErrorInformation = default(PtsV2PaymentsPost201ResponseErrorInformation), PtsV2PaymentsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(PtsV2PaymentsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseProcessingInformation ProcessingInformation = default(PtsV2PaymentsPost201ResponseProcessingInformation), PtsV2PaymentsPost201ResponseProcessorInformation ProcessorInformation = default(PtsV2PaymentsPost201ResponseProcessorInformation), PtsV2PaymentsPost201ResponseIssuerInformation IssuerInformation = default(PtsV2PaymentsPost201ResponseIssuerInformation), PtsV2PaymentsPost201ResponsePaymentAccountInformation PaymentAccountInformation = default(PtsV2PaymentsPost201ResponsePaymentAccountInformation), PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation = default(PtsV2PaymentsPost201ResponsePaymentInformation), PtsV2PaymentsPost201ResponseOrderInformation OrderInformation = default(PtsV2PaymentsPost201ResponseOrderInformation), PtsV2PaymentsPost201ResponsePointOfSaleInformation PointOfSaleInformation = default(PtsV2PaymentsPost201ResponsePointOfSaleInformation), PtsV2PaymentsPost201ResponseInstallmentInformation InstallmentInformation = default(PtsV2PaymentsPost201ResponseInstallmentInformation), PtsV2PaymentsPost201ResponseTokenInformation TokenInformation = default(PtsV2PaymentsPost201ResponseTokenInformation), PtsV2PaymentsPost201ResponseBuyerInformation BuyerInformation = default(PtsV2PaymentsPost201ResponseBuyerInformation), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation))
5556
{
5657
this.Links = Links;
5758
this.Id = Id;
@@ -69,6 +70,7 @@ public partial class PtsV2PaymentsPost201Response : IEquatable<PtsV2PaymentsPos
6970
this.PointOfSaleInformation = PointOfSaleInformation;
7071
this.InstallmentInformation = InstallmentInformation;
7172
this.TokenInformation = TokenInformation;
73+
this.BuyerInformation = BuyerInformation;
7274
this.RiskInformation = RiskInformation;
7375
this.ConsumerAuthenticationInformation = ConsumerAuthenticationInformation;
7476
}
@@ -173,6 +175,12 @@ public partial class PtsV2PaymentsPost201Response : IEquatable<PtsV2PaymentsPos
173175
[DataMember(Name="tokenInformation", EmitDefaultValue=false)]
174176
public PtsV2PaymentsPost201ResponseTokenInformation TokenInformation { get; set; }
175177

178+
/// <summary>
179+
/// Gets or Sets BuyerInformation
180+
/// </summary>
181+
[DataMember(Name="buyerInformation", EmitDefaultValue=false)]
182+
public PtsV2PaymentsPost201ResponseBuyerInformation BuyerInformation { get; set; }
183+
176184
/// <summary>
177185
/// Gets or Sets RiskInformation
178186
/// </summary>
@@ -209,6 +217,7 @@ public override string ToString()
209217
sb.Append(" PointOfSaleInformation: ").Append(PointOfSaleInformation).Append("\n");
210218
sb.Append(" InstallmentInformation: ").Append(InstallmentInformation).Append("\n");
211219
sb.Append(" TokenInformation: ").Append(TokenInformation).Append("\n");
220+
sb.Append(" BuyerInformation: ").Append(BuyerInformation).Append("\n");
212221
sb.Append(" RiskInformation: ").Append(RiskInformation).Append("\n");
213222
sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n");
214223
sb.Append("}\n");
@@ -327,6 +336,11 @@ public bool Equals(PtsV2PaymentsPost201Response other)
327336
this.TokenInformation != null &&
328337
this.TokenInformation.Equals(other.TokenInformation)
329338
) &&
339+
(
340+
this.BuyerInformation == other.BuyerInformation ||
341+
this.BuyerInformation != null &&
342+
this.BuyerInformation.Equals(other.BuyerInformation)
343+
) &&
330344
(
331345
this.RiskInformation == other.RiskInformation ||
332346
this.RiskInformation != null &&
@@ -382,6 +396,8 @@ public override int GetHashCode()
382396
hash = hash * 59 + this.InstallmentInformation.GetHashCode();
383397
if (this.TokenInformation != null)
384398
hash = hash * 59 + this.TokenInformation.GetHashCode();
399+
if (this.BuyerInformation != null)
400+
hash = hash * 59 + this.BuyerInformation.GetHashCode();
385401
if (this.RiskInformation != null)
386402
hash = hash * 59 + this.RiskInformation.GetHashCode();
387403
if (this.ConsumerAuthenticationInformation != null)

0 commit comments

Comments
 (0)