All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.Installment.html Maven / Gradle / Ivy







Installment (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class Installment

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Installment
    extends com.google.api.client.json.GenericJson
    Details of a monthly installment payment offering. [Learn more](https://support.google.com/merchants/answer/6324474) about installments.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Installment

        public Installment()
    • Method Detail

      • getAmount

        public Price getAmount()
        The amount the buyer has to pay per month.
        Returns:
        value or null for none
      • setAmount

        public Installment setAmount(Price amount)
        The amount the buyer has to pay per month.
        Parameters:
        amount - amount or null for none
      • getCreditType

        public String getCreditType()
        Optional. Type of installment payments. Supported values are: - "`finance`" - "`lease`"
        Returns:
        value or null for none
      • setCreditType

        public Installment setCreditType(String creditType)
        Optional. Type of installment payments. Supported values are: - "`finance`" - "`lease`"
        Parameters:
        creditType - creditType or null for none
      • getDownpayment

        public Price getDownpayment()
        Optional. The initial down payment amount the buyer has to pay.
        Returns:
        value or null for none
      • setDownpayment

        public Installment setDownpayment(Price downpayment)
        Optional. The initial down payment amount the buyer has to pay.
        Parameters:
        downpayment - downpayment or null for none
      • getMonths

        public Long getMonths()
        The number of installments the buyer has to pay.
        Returns:
        value or null for none
      • setMonths

        public Installment setMonths(Long months)
        The number of installments the buyer has to pay.
        Parameters:
        months - months or null for none
      • set

        public Installment set(String fieldName,
                               Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Installment clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy