// This describes a payment option, such as a pack, membership, or// single-session pass after it has been purchased by a user. It includes an// identifier for the user payment option, as well as some information about// the payment option with which it is associated.messageUserPaymentOption{// A unique identifier for the user payment option. This Id MUST be unique// for all UserPaymentOptions across all merchants and users.stringuser_payment_option_id=1;// The user payment option will be valid (usable) between start_time and// end_time. Attempts to use a user payment option to make a booking outside// of this interval will fail.google.protobuf.Timestampvalid_start_time=2;google.protobuf.Timestampvalid_end_time=3;// The type of the payment option associated with this user payment option.// This can be unlimited for a membership or subscription, multi-use for a// pack, or single-use.PaymentOptionTypetype=4;// The original number of uses for this user payment option when it was// purchased. This value is ignored for unlimited payment options.int32original_count=5;// The number of uses remaining for this user payment option. If this number// is 0 for a pack, attempts to use this payment option to make a booking will// fail.int32current_count=6;// The id of the payment option that has been used to purchase this user// payment option.stringpayment_option_id=7;}
message Price {
// The price in micro-units of the currency.
// Fractions of smallest currency unit will be rounded using nearest even
// rounding. (e.g. For USD 2.5 cents rounded to 2 cents, 3.5 cents rounded to
// 4 cents, 0.5 cents rounded to 0 cents, 2.51 cents rounded to 3 cents).
int64 price_micros = 1;
// The currency of the price that is defined in ISO 4217.
string currency_code = 2;
}
// A fee that a user may be charged if they have made a booking but do not// show up.messageNoShowFee{// The amount the user may be charged if they do not show up for their// reservation.Pricefee=1;// Defines how the fee is determined from the availability.PriceTypefee_type=3;}
// A deposit that the user may be charged or have a hold on their credit card// for.messageDeposit{// Deposit amount.Pricedeposit=1;// Minimum advance cancellation for the deposit.int64min_advance_cancellation_sec=2;// Defines how the deposit is determined from the availability.PriceTypedeposit_type=3;}
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-05-24 (UTC)."],[[["`PaymentProcessingParameters` define how partners process payments, including payment processor, token, and version information."],["`UserPaymentOption` details purchased options like memberships or packs, tracking their validity, usage, and associated payment option."],["`PaymentInformation` outlines booking payment details, including prepayment status, transaction ID, price, taxes, and payment method."],["`PrepaymentStatus` reflects the booking's payment state, such as provided, not provided, refunded, or credited."],["`Price` stores the monetary value and currency code for services, deposits, or fees."]]],["Payment processing involves parameters like `PaymentProcessor` (e.g., Stripe, Braintree) and `unparsed_payment_method_token`, along with a version. `UserPaymentOption` details a purchased payment option, with fields for ID, validity period, type (single, multi, unlimited), original/current use counts, and linked payment option ID. `PaymentInformation` specifies transaction ID, price, tax, handling by Google or partner, payment/user option ID, and potential deposit/no-show fees. `PrepaymentStatus` tracks if payment is provided, not provided, refunded, or credited."]]