(payment_eligibility_requirement)
- create - Create Payment Eligibility Requirement
- delete - Delete Payment Eligibility Requirement
- get - Get Payment Eligibility Requirement
- update - Update Payment Eligibility Requirement
Create Payment Eligibility Requirement
import wingspan
from wingspan.models import shared
s = wingspan.Wingspan()
req = shared.PaymentEligibility(
field='online',
value='Configuration',
)
res = s.payment_eligibility_requirement.create(req)
if res.payment_eligibility is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
request |
shared.PaymentEligibility | ✔️ | The request object to use for the request. |
operations.CreatePaymentEligibilityRequirementResponse
Delete Payment Eligibility Requirement
import wingspan
from wingspan.models import operations
s = wingspan.Wingspan()
res = s.payment_eligibility_requirement.delete(id='program')
if res.payment_eligibility is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | Unique identifier |
operations.DeletePaymentEligibilityRequirementResponse
Get Payment Eligibility Requirement
import wingspan
from wingspan.models import operations
s = wingspan.Wingspan()
res = s.payment_eligibility_requirement.get(id='female')
if res.payment_eligibility is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | Unique identifier |
operations.GetPaymentEligibilityRequirementResponse
Update Payment Eligibility Requirement
import wingspan
from wingspan.models import operations, shared
s = wingspan.Wingspan()
res = s.payment_eligibility_requirement.update(id='Van', payment_eligibility_update_request=shared.PaymentEligibilityUpdateRequest(
value=shared.PaymentEligibilityUpdateRequestValue(),
))
if res.payment_eligibility is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | Unique identifier |
payment_eligibility_update_request |
Optional[shared.PaymentEligibilityUpdateRequest] | ➖ | N/A |