airbyte.SourcePaypalTransaction
Explore with Pulumi AI
SourcePaypalTransaction Resource
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourcePaypalTransaction;
import com.pulumi.airbyte.SourcePaypalTransactionArgs;
import com.pulumi.airbyte.inputs.SourcePaypalTransactionConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var mySourcePaypaltransaction = new SourcePaypalTransaction("mySourcePaypaltransaction", SourcePaypalTransactionArgs.builder()
            .configuration(SourcePaypalTransactionConfigurationArgs.builder()
                .client_id("...my_client_id...")
                .client_secret("...my_client_secret...")
                .dispute_start_date("2021-06-11T23:59:59.000Z")
                .end_date("2021-06-11T23:59:59Z")
                .is_sandbox(false)
                .refresh_token("...my_refresh_token...")
                .start_date("2021-06-11T23:59:59Z")
                .time_window(15)
                .build())
            .definitionId("3eb04bd6-98a6-48c4-a062-47a98b062443")
            .secretId("...my_secret_id...")
            .workspaceId("50745f0a-d8f4-4aaf-82d4-113d8f1712a4")
            .build());
    }
}
resources:
  mySourcePaypaltransaction:
    type: airbyte:SourcePaypalTransaction
    properties:
      configuration:
        client_id: '...my_client_id...'
        client_secret: '...my_client_secret...'
        dispute_start_date: 2021-06-11T23:59:59.000Z
        end_date: 2021-06-11T23:59:59Z
        is_sandbox: false
        refresh_token: '...my_refresh_token...'
        start_date: 2021-06-11T23:59:59Z
        time_window: 15
      definitionId: 3eb04bd6-98a6-48c4-a062-47a98b062443
      secretId: '...my_secret_id...'
      workspaceId: 50745f0a-d8f4-4aaf-82d4-113d8f1712a4
Create SourcePaypalTransaction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourcePaypalTransaction(name: string, args: SourcePaypalTransactionArgs, opts?: CustomResourceOptions);@overload
def SourcePaypalTransaction(resource_name: str,
                            args: SourcePaypalTransactionArgs,
                            opts: Optional[ResourceOptions] = None)
@overload
def SourcePaypalTransaction(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            configuration: Optional[SourcePaypalTransactionConfigurationArgs] = None,
                            workspace_id: Optional[str] = None,
                            definition_id: Optional[str] = None,
                            name: Optional[str] = None,
                            secret_id: Optional[str] = None)func NewSourcePaypalTransaction(ctx *Context, name string, args SourcePaypalTransactionArgs, opts ...ResourceOption) (*SourcePaypalTransaction, error)public SourcePaypalTransaction(string name, SourcePaypalTransactionArgs args, CustomResourceOptions? opts = null)
public SourcePaypalTransaction(String name, SourcePaypalTransactionArgs args)
public SourcePaypalTransaction(String name, SourcePaypalTransactionArgs args, CustomResourceOptions options)
type: airbyte:SourcePaypalTransaction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SourcePaypalTransactionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SourcePaypalTransactionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SourcePaypalTransactionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourcePaypalTransactionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourcePaypalTransactionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sourcePaypalTransactionResource = new Airbyte.SourcePaypalTransaction("sourcePaypalTransactionResource", new()
{
    Configuration = new Airbyte.Inputs.SourcePaypalTransactionConfigurationArgs
    {
        ClientId = "string",
        ClientSecret = "string",
        StartDate = "string",
        DisputeStartDate = "string",
        EndDate = "string",
        IsSandbox = false,
        RefreshToken = "string",
        TimeWindow = 0,
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourcePaypalTransaction(ctx, "sourcePaypalTransactionResource", &airbyte.SourcePaypalTransactionArgs{
Configuration: &.SourcePaypalTransactionConfigurationArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
StartDate: pulumi.String("string"),
DisputeStartDate: pulumi.String("string"),
EndDate: pulumi.String("string"),
IsSandbox: pulumi.Bool(false),
RefreshToken: pulumi.String("string"),
TimeWindow: pulumi.Float64(0),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourcePaypalTransactionResource = new SourcePaypalTransaction("sourcePaypalTransactionResource", SourcePaypalTransactionArgs.builder()
    .configuration(SourcePaypalTransactionConfigurationArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .startDate("string")
        .disputeStartDate("string")
        .endDate("string")
        .isSandbox(false)
        .refreshToken("string")
        .timeWindow(0)
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_paypal_transaction_resource = airbyte.SourcePaypalTransaction("sourcePaypalTransactionResource",
    configuration={
        "client_id": "string",
        "client_secret": "string",
        "start_date": "string",
        "dispute_start_date": "string",
        "end_date": "string",
        "is_sandbox": False,
        "refresh_token": "string",
        "time_window": 0,
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourcePaypalTransactionResource = new airbyte.SourcePaypalTransaction("sourcePaypalTransactionResource", {
    configuration: {
        clientId: "string",
        clientSecret: "string",
        startDate: "string",
        disputeStartDate: "string",
        endDate: "string",
        isSandbox: false,
        refreshToken: "string",
        timeWindow: 0,
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourcePaypalTransaction
properties:
    configuration:
        clientId: string
        clientSecret: string
        disputeStartDate: string
        endDate: string
        isSandbox: false
        refreshToken: string
        startDate: string
        timeWindow: 0
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourcePaypalTransaction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SourcePaypalTransaction resource accepts the following input properties:
- Configuration
SourcePaypal Transaction Configuration 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
SourcePaypal Transaction Configuration Args 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourcePaypal Transaction Configuration 
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourcePaypal Transaction Configuration 
- workspaceId string
- definitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourcePaypal Transaction Configuration Args 
- workspace_id str
- definition_id str
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- secret_id str
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration Property Map
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
Outputs
All input properties are implicitly available as output properties. Additionally, the SourcePaypalTransaction resource produces the following output properties:
- CreatedAt double
- Id string
- The provider-assigned unique ID for this managed resource.
- SourceId string
- SourceType string
- CreatedAt float64
- Id string
- The provider-assigned unique ID for this managed resource.
- SourceId string
- SourceType string
- createdAt Double
- id String
- The provider-assigned unique ID for this managed resource.
- sourceId String
- sourceType String
- createdAt number
- id string
- The provider-assigned unique ID for this managed resource.
- sourceId string
- sourceType string
- created_at float
- id str
- The provider-assigned unique ID for this managed resource.
- source_id str
- source_type str
- createdAt Number
- id String
- The provider-assigned unique ID for this managed resource.
- sourceId String
- sourceType String
Look up Existing SourcePaypalTransaction Resource
Get an existing SourcePaypalTransaction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SourcePaypalTransactionState, opts?: CustomResourceOptions): SourcePaypalTransaction@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourcePaypalTransactionConfigurationArgs] = None,
        created_at: Optional[float] = None,
        definition_id: Optional[str] = None,
        name: Optional[str] = None,
        secret_id: Optional[str] = None,
        source_id: Optional[str] = None,
        source_type: Optional[str] = None,
        workspace_id: Optional[str] = None) -> SourcePaypalTransactionfunc GetSourcePaypalTransaction(ctx *Context, name string, id IDInput, state *SourcePaypalTransactionState, opts ...ResourceOption) (*SourcePaypalTransaction, error)public static SourcePaypalTransaction Get(string name, Input<string> id, SourcePaypalTransactionState? state, CustomResourceOptions? opts = null)public static SourcePaypalTransaction get(String name, Output<String> id, SourcePaypalTransactionState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourcePaypalTransaction    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Configuration
SourcePaypal Transaction Configuration 
- CreatedAt double
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- SourceId string
- SourceType string
- WorkspaceId string
- Configuration
SourcePaypal Transaction Configuration Args 
- CreatedAt float64
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- SourceId string
- SourceType string
- WorkspaceId string
- configuration
SourcePaypal Transaction Configuration 
- createdAt Double
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId String
- sourceType String
- workspaceId String
- configuration
SourcePaypal Transaction Configuration 
- createdAt number
- definitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId string
- sourceType string
- workspaceId string
- configuration
SourcePaypal Transaction Configuration Args 
- created_at float
- definition_id str
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- secret_id str
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source_id str
- source_type str
- workspace_id str
- configuration Property Map
- createdAt Number
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId String
- sourceType String
- workspaceId String
Supporting Types
SourcePaypalTransactionConfiguration, SourcePaypalTransactionConfigurationArgs        
- ClientId string
- The Client ID of your Paypal developer application.
- ClientSecret string
- The Client Secret of your Paypal developer application.
- StartDate string
- Start Date for data extraction in \n\nISO format\n\n. Date must be in range from 3 years till 12 hrs before present time.
- DisputeStart stringDate 
- Start Date parameter for the list dispute endpoint in \n\nISO format\n\n. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past.
- EndDate string
- End Date for data extraction in \n\nISO format\n\n. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams.
- IsSandbox bool
- Determines whether to use the sandbox or production environment. Default: false
- RefreshToken string
- The key to refresh the expired access token.
- TimeWindow double
- The number of days per request. Must be a number between 1 and 31. Default: 7
- ClientId string
- The Client ID of your Paypal developer application.
- ClientSecret string
- The Client Secret of your Paypal developer application.
- StartDate string
- Start Date for data extraction in \n\nISO format\n\n. Date must be in range from 3 years till 12 hrs before present time.
- DisputeStart stringDate 
- Start Date parameter for the list dispute endpoint in \n\nISO format\n\n. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past.
- EndDate string
- End Date for data extraction in \n\nISO format\n\n. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams.
- IsSandbox bool
- Determines whether to use the sandbox or production environment. Default: false
- RefreshToken string
- The key to refresh the expired access token.
- TimeWindow float64
- The number of days per request. Must be a number between 1 and 31. Default: 7
- clientId String
- The Client ID of your Paypal developer application.
- clientSecret String
- The Client Secret of your Paypal developer application.
- startDate String
- Start Date for data extraction in \n\nISO format\n\n. Date must be in range from 3 years till 12 hrs before present time.
- disputeStart StringDate 
- Start Date parameter for the list dispute endpoint in \n\nISO format\n\n. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past.
- endDate String
- End Date for data extraction in \n\nISO format\n\n. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams.
- isSandbox Boolean
- Determines whether to use the sandbox or production environment. Default: false
- refreshToken String
- The key to refresh the expired access token.
- timeWindow Double
- The number of days per request. Must be a number between 1 and 31. Default: 7
- clientId string
- The Client ID of your Paypal developer application.
- clientSecret string
- The Client Secret of your Paypal developer application.
- startDate string
- Start Date for data extraction in \n\nISO format\n\n. Date must be in range from 3 years till 12 hrs before present time.
- disputeStart stringDate 
- Start Date parameter for the list dispute endpoint in \n\nISO format\n\n. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past.
- endDate string
- End Date for data extraction in \n\nISO format\n\n. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams.
- isSandbox boolean
- Determines whether to use the sandbox or production environment. Default: false
- refreshToken string
- The key to refresh the expired access token.
- timeWindow number
- The number of days per request. Must be a number between 1 and 31. Default: 7
- client_id str
- The Client ID of your Paypal developer application.
- client_secret str
- The Client Secret of your Paypal developer application.
- start_date str
- Start Date for data extraction in \n\nISO format\n\n. Date must be in range from 3 years till 12 hrs before present time.
- dispute_start_ strdate 
- Start Date parameter for the list dispute endpoint in \n\nISO format\n\n. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past.
- end_date str
- End Date for data extraction in \n\nISO format\n\n. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams.
- is_sandbox bool
- Determines whether to use the sandbox or production environment. Default: false
- refresh_token str
- The key to refresh the expired access token.
- time_window float
- The number of days per request. Must be a number between 1 and 31. Default: 7
- clientId String
- The Client ID of your Paypal developer application.
- clientSecret String
- The Client Secret of your Paypal developer application.
- startDate String
- Start Date for data extraction in \n\nISO format\n\n. Date must be in range from 3 years till 12 hrs before present time.
- disputeStart StringDate 
- Start Date parameter for the list dispute endpoint in \n\nISO format\n\n. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past.
- endDate String
- End Date for data extraction in \n\nISO format\n\n. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams.
- isSandbox Boolean
- Determines whether to use the sandbox or production environment. Default: false
- refreshToken String
- The key to refresh the expired access token.
- timeWindow Number
- The number of days per request. Must be a number between 1 and 31. Default: 7
Import
$ pulumi import airbyte:index/sourcePaypalTransaction:SourcePaypalTransaction my_airbyte_source_paypal_transaction ""
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- airbyte airbytehq/terraform-provider-airbyte
- License
- Notes
- This Pulumi package is based on the airbyteTerraform Provider.