google_api_android_publisher v0.14.0 GoogleApi.AndroidPublisher.V2.Api.Orders View Source
API calls for all endpoints tagged Orders
.
Link to this section Summary
Functions
Refund a user's subscription or in-app purchase order.
Link to this section Functions
Link to this function
androidpublisher_orders_refund(connection, package_name, order_id, optional_params \\ [], opts \\ [])
View Sourceandroidpublisher_orders_refund( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Refund a user's subscription or in-app purchase order.
Parameters
connection
(type:GoogleApi.AndroidPublisher.V2.Connection.t
) - Connection to serverpackage_name
(type:String.t
) - The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').order_id
(type:String.t
) - The order ID provided to the user when the subscription or in-app order was purchased.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:revoke
(type:boolean()
) - Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional)
opts
(type:keyword()
) - Call options
Returns
{:ok, %{}}
on success{:error, info}
on failure