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

target.apidocs.com.google.api.services.androidpublisher.model.VoidedPurchase.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241217-2.0.0
Show newest version






VoidedPurchase (Google Play Android Developer API v3-rev20240129-2.0.0)












com.google.api.services.androidpublisher.model

Class VoidedPurchase

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


    public final class VoidedPurchase
    extends com.google.api.client.json.GenericJson
    A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.

    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 Google Play Android Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • VoidedPurchase

        public VoidedPurchase()
    • Method Detail

      • getKind

        public String getKind()
        This kind represents a voided purchase object in the androidpublisher service.
        Returns:
        value or null for none
      • setKind

        public VoidedPurchase setKind(String kind)
        This kind represents a voided purchase object in the androidpublisher service.
        Parameters:
        kind - kind or null for none
      • getOrderId

        public String getOrderId()
        The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal.
        Returns:
        value or null for none
      • setOrderId

        public VoidedPurchase setOrderId(String orderId)
        The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal.
        Parameters:
        orderId - orderId or null for none
      • getPurchaseTimeMillis

        public Long getPurchaseTimeMillis()
        The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
        Returns:
        value or null for none
      • setPurchaseTimeMillis

        public VoidedPurchase setPurchaseTimeMillis(Long purchaseTimeMillis)
        The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
        Parameters:
        purchaseTimeMillis - purchaseTimeMillis or null for none
      • getPurchaseToken

        public String getPurchaseToken()
        The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).
        Returns:
        value or null for none
      • setPurchaseToken

        public VoidedPurchase setPurchaseToken(String purchaseToken)
        The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).
        Parameters:
        purchaseToken - purchaseToken or null for none
      • getVoidedReason

        public Integer getVoidedReason()
        The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback
        Returns:
        value or null for none
      • setVoidedReason

        public VoidedPurchase setVoidedReason(Integer voidedReason)
        The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback
        Parameters:
        voidedReason - voidedReason or null for none
      • getVoidedSource

        public Integer getVoidedSource()
        The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google
        Returns:
        value or null for none
      • setVoidedSource

        public VoidedPurchase setVoidedSource(Integer voidedSource)
        The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google
        Parameters:
        voidedSource - voidedSource or null for none
      • getVoidedTimeMillis

        public Long getVoidedTimeMillis()
        The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).
        Returns:
        value or null for none
      • setVoidedTimeMillis

        public VoidedPurchase setVoidedTimeMillis(Long voidedTimeMillis)
        The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).
        Parameters:
        voidedTimeMillis - voidedTimeMillis or null for none
      • set

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

        public VoidedPurchase 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