Skip to content

Commit

Permalink
Merge pull request #34 from CyberSource/payer-auth
Browse files Browse the repository at this point in the history
Payer auth API changes
  • Loading branch information
gnongsie authored Jun 17, 2019
2 parents 5880506 + 496429a commit d235961
Show file tree
Hide file tree
Showing 681 changed files with 43,513 additions and 11,862 deletions.
6 changes: 1 addition & 5 deletions Api/CaptureApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@ public CaptureApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
6 changes: 1 addition & 5 deletions Api/ConversionDetailsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,7 @@ public ConversionDetailsApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
6 changes: 1 addition & 5 deletions Api/CreditApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ public CreditApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
6 changes: 1 addition & 5 deletions Api/DecisionManagerApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ public DecisionManagerApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
22 changes: 9 additions & 13 deletions Api/InstrumentIdentifierApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public interface IInstrumentIdentifierApi : IApiAccessor
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteInstrumentIdentifierWithHttpInfo (string profileId, string tokenId);
/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <remarks>
///
Expand All @@ -85,7 +85,7 @@ public interface IInstrumentIdentifierApi : IApiAccessor
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response GetAllPaymentInstruments (string profileId, string tokenId, long? offset = null, long? limit = null);

/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <remarks>
///
Expand Down Expand Up @@ -194,7 +194,7 @@ public interface IInstrumentIdentifierApi : IApiAccessor
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteInstrumentIdentifierAsyncWithHttpInfo (string profileId, string tokenId);
/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <remarks>
///
Expand All @@ -208,7 +208,7 @@ public interface IInstrumentIdentifierApi : IApiAccessor
System.Threading.Tasks.Task<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response> GetAllPaymentInstrumentsAsync (string profileId, string tokenId, long? offset = null, long? limit = null);

/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <remarks>
///
Expand Down Expand Up @@ -310,11 +310,7 @@ public InstrumentIdentifierApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down Expand Up @@ -687,7 +683,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteInstrumentId
}

/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="profileId">The id of a profile containing user specific TMS configuration.</param>
Expand All @@ -702,7 +698,7 @@ public TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response GetAllPaymentI
}

/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="profileId">The id of a profile containing user specific TMS configuration.</param>
Expand Down Expand Up @@ -766,7 +762,7 @@ public ApiResponse< TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response >
}

/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="profileId">The id of a profile containing user specific TMS configuration.</param>
Expand All @@ -782,7 +778,7 @@ public async System.Threading.Tasks.Task<TmsV1InstrumentIdentifiersPaymentInstru
}

/// <summary>
/// Retrieve all Payment Instruments associated with an Instrument Identifier
/// Retrieve all Payment Instruments
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="profileId">The id of a profile containing user specific TMS configuration.</param>
Expand Down
6 changes: 1 addition & 5 deletions Api/KeyGenerationApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ public KeyGenerationApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
6 changes: 1 addition & 5 deletions Api/NetFundingsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ public NetFundingsApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
6 changes: 1 addition & 5 deletions Api/NotificationOfChangesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@ public NotificationOfChangesApi(Configuration configuration = null)

ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;

// ensure API client has configuration ready
if (Configuration.ApiClient.Configuration == null)
{
this.Configuration.ApiClient.Configuration = this.Configuration;
}
this.Configuration.ApiClient.Configuration = this.Configuration;
}

/// <summary>
Expand Down
Loading

0 comments on commit d235961

Please sign in to comment.