SquareLinkedService Class

public final class SquareLinkedService
extends LinkedService

Square Service linked service.

Constructor Summary

Constructor Description
SquareLinkedService()

Creates an instance of SquareLinkedService class.

Method Summary

Modifier and Type Method and Description
Object clientId()

Get the clientId property: The client ID associated with your Square application.

SecretBase clientSecret()

Get the clientSecret property: The client secret associated with your Square application.

Object connectionProperties()

Get the connectionProperties property: Properties used to connect to Square.

String encryptedCredential()

Get the encryptedCredential property: The encrypted credential used for authentication.

Object host()

Get the host property: The URL of the Square instance.

Object redirectUri()

Get the redirectUri property: The redirect URL assigned in the Square application dashboard.

String type()

Get the type property: Type of linked service.

Object useEncryptedEndpoints()

Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.

Object useHostVerification()

Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL.

Object usePeerVerification()

Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.

void validate()

Validates the instance.

SquareLinkedService withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

SquareLinkedService withClientId(Object clientId)

Set the clientId property: The client ID associated with your Square application.

SquareLinkedService withClientSecret(SecretBase clientSecret)

Set the clientSecret property: The client secret associated with your Square application.

SquareLinkedService withConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

SquareLinkedService withConnectionProperties(Object connectionProperties)

Set the connectionProperties property: Properties used to connect to Square.

SquareLinkedService withDescription(String description)

Set the description property: Linked service description.

SquareLinkedService withEncryptedCredential(String encryptedCredential)

Set the encryptedCredential property: The encrypted credential used for authentication.

SquareLinkedService withHost(Object host)

Set the host property: The URL of the Square instance.

SquareLinkedService withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for linked service.

SquareLinkedService withRedirectUri(Object redirectUri)

Set the redirectUri property: The redirect URL assigned in the Square application dashboard.

SquareLinkedService withUseEncryptedEndpoints(Object useEncryptedEndpoints)

Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.

SquareLinkedService withUseHostVerification(Object useHostVerification)

Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL.

SquareLinkedService withUsePeerVerification(Object usePeerVerification)

Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.

Methods inherited from LinkedService

Methods inherited from java.lang.Object

Constructor Details

SquareLinkedService

public SquareLinkedService()

Creates an instance of SquareLinkedService class.

Method Details

clientId

public Object clientId()

Get the clientId property: The client ID associated with your Square application.

Returns:

the clientId value.

clientSecret

public SecretBase clientSecret()

Get the clientSecret property: The client secret associated with your Square application.

Returns:

the clientSecret value.

connectionProperties

public Object connectionProperties()

Get the connectionProperties property: Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object.

Returns:

the connectionProperties value.

encryptedCredential

public String encryptedCredential()

Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.

Returns:

the encryptedCredential value.

host

public Object host()

Get the host property: The URL of the Square instance. (i.e. mystore.mysquare.com).

Returns:

the host value.

redirectUri

public Object redirectUri()

Get the redirectUri property: The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500).

Returns:

the redirectUri value.

type

public String type()

Get the type property: Type of linked service.

Overrides:

SquareLinkedService.type()

Returns:

the type value.

useEncryptedEndpoints

public Object useEncryptedEndpoints()

Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.

Returns:

the useEncryptedEndpoints value.

useHostVerification

public Object useHostVerification()

Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.

Returns:

the useHostVerification value.

usePeerVerification

public Object usePeerVerification()

Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.

Returns:

the usePeerVerification value.

validate

public void validate()

Validates the instance.

Overrides:

SquareLinkedService.validate()

withAnnotations

public SquareLinkedService withAnnotations(List annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

Overrides:

SquareLinkedService.withAnnotations(List<Object> annotations)

Parameters:

annotations

withClientId

public SquareLinkedService withClientId(Object clientId)

Set the clientId property: The client ID associated with your Square application.

Parameters:

clientId - the clientId value to set.

Returns:

the SquareLinkedService object itself.

withClientSecret

public SquareLinkedService withClientSecret(SecretBase clientSecret)

Set the clientSecret property: The client secret associated with your Square application.

Parameters:

clientSecret - the clientSecret value to set.

Returns:

the SquareLinkedService object itself.

withConnectVia

public SquareLinkedService withConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

Overrides:

SquareLinkedService.withConnectVia(IntegrationRuntimeReference connectVia)

Parameters:

connectVia

withConnectionProperties

public SquareLinkedService withConnectionProperties(Object connectionProperties)

Set the connectionProperties property: Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object.

Parameters:

connectionProperties - the connectionProperties value to set.

Returns:

the SquareLinkedService object itself.

withDescription

public SquareLinkedService withDescription(String description)

Set the description property: Linked service description.

Overrides:

SquareLinkedService.withDescription(String description)

Parameters:

description

withEncryptedCredential

public SquareLinkedService withEncryptedCredential(String encryptedCredential)

Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.

Parameters:

encryptedCredential - the encryptedCredential value to set.

Returns:

the SquareLinkedService object itself.

withHost

public SquareLinkedService withHost(Object host)

Set the host property: The URL of the Square instance. (i.e. mystore.mysquare.com).

Parameters:

host - the host value to set.

Returns:

the SquareLinkedService object itself.

withParameters

public SquareLinkedService withParameters(Map parameters)

Set the parameters property: Parameters for linked service.

Overrides:

SquareLinkedService.withParameters(Map<String,ParameterSpecification> parameters)

Parameters:

parameters

withRedirectUri

public SquareLinkedService withRedirectUri(Object redirectUri)

Set the redirectUri property: The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500).

Parameters:

redirectUri - the redirectUri value to set.

Returns:

the SquareLinkedService object itself.

withUseEncryptedEndpoints

public SquareLinkedService withUseEncryptedEndpoints(Object useEncryptedEndpoints)

Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.

Parameters:

useEncryptedEndpoints - the useEncryptedEndpoints value to set.

Returns:

the SquareLinkedService object itself.

withUseHostVerification

public SquareLinkedService withUseHostVerification(Object useHostVerification)

Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.

Parameters:

useHostVerification - the useHostVerification value to set.

Returns:

the SquareLinkedService object itself.

withUsePeerVerification

public SquareLinkedService withUsePeerVerification(Object usePeerVerification)

Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.

Parameters:

usePeerVerification - the usePeerVerification value to set.

Returns:

the SquareLinkedService object itself.

Applies to