syntax = "proto3";
//flynt-disable package-matches-structure
package com.wixpress.appservice.api.upstream.wix.forms.v4.components;
option java_package = "com.wixpress.appservice.api.upstream.wix.forms.v4.components";

import "wix/rich_content/v1/rich_content.proto";
import "wix/api/annotations.proto";
import "wix/api/validations.proto";
import "google/protobuf/wrappers.proto";
import "components_catalog_data/form_template/com/wixpress/appservice/api/upstream/wix/forms/v4/components/common/media_item.proto";
import "components_catalog_data/form_template/com/wixpress/appservice/api/upstream/wix/forms/v4/components/common/media_settings.proto";

message PaymentInput {
    option (.wix.api.decomposite_of) = "wix.forms.v4.components.PaymentInput";
  reserved 5;

  // Label of the field.
  google.protobuf.StringValue label = 1 [(.wix.api.maxLength) = 350, (.wix.api.translatable) = {
    name: "Payment Input Label"
    hidden: false
    grouping: "formFields"
    type: SHORT_TEXT
  }];

  // Description of the field.
  .wix.rich_content.v1.RichContent description = 2 [(.wix.api.translatable) = {
    name: "Payment Input Description"
    hidden: false
    grouping: "formFields"
    type: RICH_CONTENT_EDITOR
  }];

  // Flag identifying to hide or not label
  // Default: true
  google.protobuf.BoolValue show_label = 3;

  // Placeholder of custom option input
  google.protobuf.StringValue placeholder = 4 [(.wix.api.maxLength) = 100, (.wix.api.translatable) = {
    name: "Payment Input Placeholder"
    hidden: false
    grouping: "formFields"
    type: SHORT_TEXT
  }];

  // Default value for the payment input
  google.protobuf.DoubleValue default = 6;
  // Media item. Media, associated with field, like image.
  components.common.MediaItem media = 7;
  // Settings for media item
  components.common.MediaSettings media_settings = 8;
}
