Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 789 Bytes

File metadata and controls

28 lines (18 loc) · 789 Bytes

Get Subscription Input

Input structure for the method GetSubscriptionAsync

Structure

GetSubscriptionInput

Fields

Name Type Tags Description Getter Setter
Id String Required The ID of the subscription. String getId() setId(String id)
Fields String Optional List of fields that are to be returned in the response. Possible value for fields are last_failed_payment and plan.

Constraints: Minimum Length: 1, Maximum Length: 100
String getFields() setFields(String fields)

Example

import com.paypal.sdk.models.GetSubscriptionInput;

GetSubscriptionInput getSubscriptionInput = new GetSubscriptionInput.Builder(
    "id0"
)
.fields("fields8")
.build();