Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::Installment.
An installment of the offer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#price_model
def price_model() -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel) — Optional. The price model of the installment. All installments must have the same form of price model.
#price_model=
def price_model=(value) -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel- value (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel) — Optional. The price model of the installment. All installments must have the same form of price model.
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::PriceModel) — Optional. The price model of the installment. All installments must have the same form of price model.
#start_time
def start_time() -> ::Google::Type::DateTime-
(::Google::Type::DateTime) — Optional. The start time of the installment.
Each installment must have a unique start time with one exception:
When the
term.start_policyof the offer's term isIMMEDIATE, thestart_timeof the first installment must be unset. The actual start time is not recorded in the offer and instead is determined by the time the resulting order became active.When the
term.start_policyof the offer's term isSCHEDULED_START_TIME, then the first installment'sstart_timemust matchterm.scheduled_start_time.If the
term.end_policyof the offer's term isSCHEDULED_END_TIME, then installmentstart_timemust be beforeterm.scheduled_end_time. If it'sAFTER_DURATION, then installmentstart_timemust be before the time calculated by adding theterm.duration_monthsto the start time of the offer.The
start_timeof the installments cannot be before theaccept_deadline_timeof the offer.Installment start times must be in strictly increasing chronological order.
#start_time=
def start_time=(value) -> ::Google::Type::DateTime-
value (::Google::Type::DateTime) — Optional. The start time of the installment.
Each installment must have a unique start time with one exception:
When the
term.start_policyof the offer's term isIMMEDIATE, thestart_timeof the first installment must be unset. The actual start time is not recorded in the offer and instead is determined by the time the resulting order became active.When the
term.start_policyof the offer's term isSCHEDULED_START_TIME, then the first installment'sstart_timemust matchterm.scheduled_start_time.If the
term.end_policyof the offer's term isSCHEDULED_END_TIME, then installmentstart_timemust be beforeterm.scheduled_end_time. If it'sAFTER_DURATION, then installmentstart_timemust be before the time calculated by adding theterm.duration_monthsto the start time of the offer.The
start_timeof the installments cannot be before theaccept_deadline_timeof the offer.Installment start times must be in strictly increasing chronological order.
-
(::Google::Type::DateTime) — Optional. The start time of the installment.
Each installment must have a unique start time with one exception:
When the
term.start_policyof the offer's term isIMMEDIATE, thestart_timeof the first installment must be unset. The actual start time is not recorded in the offer and instead is determined by the time the resulting order became active.When the
term.start_policyof the offer's term isSCHEDULED_START_TIME, then the first installment'sstart_timemust matchterm.scheduled_start_time.If the
term.end_policyof the offer's term isSCHEDULED_END_TIME, then installmentstart_timemust be beforeterm.scheduled_end_time. If it'sAFTER_DURATION, then installmentstart_timemust be before the time calculated by adding theterm.duration_monthsto the start time of the offer.The
start_timeof the installments cannot be before theaccept_deadline_timeof the offer.Installment start times must be in strictly increasing chronological order.