syntax = "proto3";

package wix.payment.api.pay.v2;

import "wix/payment/api/pay/v2/resources/subscription-frequency.proto";

option java_package = "com.wix.payment.api.pay.v2";

// Trial period of subscription
message SubscriptionTrialPeriod {
    // trial period in units (required)
    int32 period                = 2;

    // units in which trial period is described (optional, default DAY)
    SubscriptionFrequency unit = 1;
}