INNER CODE UNIT · Go

resourceCustomerPortal

franckverrot/terraform-provider-stripe · stripe/resource_stripe_customer_portal.go:13

func resourceCustomerPortal() *schema.Resource {
	return &schema.Resource{
		Create: resourceStripeCustomerPortalCreate,
		Read:   resourceStripeCustomerPortalRead,
		Update: resourceStripeCustomerPortalUpdate,
		Delete: resourceStripeCustomerPortalDelete,
		Importer: &schema.ResourceImporter{
			State: schema.ImportStatePassthrough,
		},
		Schema: map[string]*schema.Schema{
			"business_profile": &schema.Schema{
				Type: schema.TypeList,
				Elem: &schema.Resource{
					Schema: map[string]*schema.Schema{
						"privacy_policy_url": &schema.Schema{
							Type:     schema.TypeString,
							Required: true,
						},

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…