public sealed class CommerceTransactionSettings : ServiceSettingsBaseReference documentation and code samples for the Cloud Commerce Producer v1beta API class CommerceTransactionSettings.
Settings for CommerceTransactionClient instances.
Namespace
Google.Cloud.CommerceProducer.V1BetaAssembly
Google.Cloud.CommerceProducer.V1Beta.dll
Constructors
CommerceTransactionSettings()
public CommerceTransactionSettings()Constructs a new CommerceTransactionSettings object with default settings.
Properties
CancelPrivateOfferSettings
public CallSettings CancelPrivateOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.CancelPrivateOffer and CommerceTransactionClient.CancelPrivateOfferAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
CreatePrivateOfferDocumentSettings
public CallSettings CreatePrivateOfferDocumentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.CreatePrivateOfferDocument and
CommerceTransactionClient.CreatePrivateOfferDocumentAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
CreatePrivateOfferSettings
public CallSettings CreatePrivateOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.CreatePrivateOffer and CommerceTransactionClient.CreatePrivateOfferAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
DeletePrivateOfferDocumentSettings
public CallSettings DeletePrivateOfferDocumentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.DeletePrivateOfferDocument and
CommerceTransactionClient.DeletePrivateOfferDocumentAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
DeletePrivateOfferSettings
public CallSettings DeletePrivateOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.DeletePrivateOffer and CommerceTransactionClient.DeletePrivateOfferAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
GetPrivateOfferDocumentSettings
public CallSettings GetPrivateOfferDocumentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.GetPrivateOfferDocument and
CommerceTransactionClient.GetPrivateOfferDocumentAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetPrivateOfferSettings
public CallSettings GetPrivateOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.GetPrivateOffer and CommerceTransactionClient.GetPrivateOfferAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetServiceSettings
public CallSettings GetServiceSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.GetService and CommerceTransactionClient.GetServiceAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetSkuGroupSettings
public CallSettings GetSkuGroupSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.GetSkuGroup and CommerceTransactionClient.GetSkuGroupAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetSkuSettings
public CallSettings GetSkuSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.GetSku and CommerceTransactionClient.GetSkuAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetStandardOfferSettings
public CallSettings GetStandardOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.GetStandardOffer and CommerceTransactionClient.GetStandardOfferAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListPrivateOfferDocumentsSettings
public CallSettings ListPrivateOfferDocumentsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ListPrivateOfferDocuments and
CommerceTransactionClient.ListPrivateOfferDocumentsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListPrivateOffersSettings
public CallSettings ListPrivateOffersSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ListPrivateOffers and CommerceTransactionClient.ListPrivateOffersAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListServicesSettings
public CallSettings ListServicesSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ListServices and CommerceTransactionClient.ListServicesAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListSkuGroupsSettings
public CallSettings ListSkuGroupsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ListSkuGroups and CommerceTransactionClient.ListSkuGroupsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListSkusSettings
public CallSettings ListSkusSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ListSkus and CommerceTransactionClient.ListSkusAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListStandardOffersSettings
public CallSettings ListStandardOffersSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ListStandardOffers and CommerceTransactionClient.ListStandardOffersAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }The settings to use for the LocationsClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
LocationsSettings |
|
PublishPrivateOfferSettings
public CallSettings PublishPrivateOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.PublishPrivateOffer and
CommerceTransactionClient.PublishPrivateOfferAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
ResolveAmendmentTargetSettings
public CallSettings ResolveAmendmentTargetSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.ResolveAmendmentTarget and
CommerceTransactionClient.ResolveAmendmentTargetAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
UpdatePrivateOfferDocumentSettings
public CallSettings UpdatePrivateOfferDocumentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.UpdatePrivateOfferDocument and
CommerceTransactionClient.UpdatePrivateOfferDocumentAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
UpdatePrivateOfferSettings
public CallSettings UpdatePrivateOfferSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CommerceTransactionClient.UpdatePrivateOffer and CommerceTransactionClient.UpdatePrivateOfferAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
public CommerceTransactionSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
CommerceTransactionSettings |
A deep clone of this CommerceTransactionSettings object. |
GetDefault()
public static CommerceTransactionSettings GetDefault()Get a new instance of the default CommerceTransactionSettings.
| Returns | |
|---|---|
| Type | Description |
CommerceTransactionSettings |
A new instance of the default CommerceTransactionSettings. |