Revenue.Receipt.Builder class

com.yandex.metrica

public static class Revenue.Receipt.Builder

Builder class for Revenue.Receipt.

Methods

Revenue.Receiptbuild()

Creates the instance of the Revenue.Receipt class.

Revenue.Receipt.BuilderwithData(@Nullable String data)

Sets details about the in-app purchase order from Google Play.

Revenue.Receipt.BuilderwithSignature(@Nullable String signature)

Sets the signature of the in-app purchase order from Google Play.

Method descriptions

build

public Revenue.Receipt build()

Creates the instance of the Revenue.Receipt class.

Returns:

The instance of the Revenue.Receipt class.

withData

public Revenue.Receipt.Builder withData(@Nullable String data)

Sets details about the in-app purchase order from Google Play.

Parameters:
data

Details about the in-app purchase order from Google Play.

It should contain data from INAPP_PURCHASE_DATA.

Returns:

The instance of the Revenue.Receipt.Builder class.

withSignature

public Revenue.Receipt.Builder withSignature(@Nullable String signature)

Sets the signature of the in-app purchase order from Google Play.

Parameters:
signature

Signature of the in-app purchase order from Google Play.

It should contain data from INAPP_DATA_SIGNATURE.

Returns:

The instance of the Revenue.Receipt.Builder class.

.