1.7.47. ServiceContract drop (up)

1.7.47.1. 방법

1.7.47.1.1. errors

실패한 제출 후 이 모델의 형식이 렌더링되면 발생한 오류가 반환됩니다.

{{ service_contract.errors.name | inline_errors }}
1.7.47.1.2. id
1.7.47.1.3. can_change_plan?

변경 가능한 경우 true를 반환합니다.Return true if any form of change is possible.

1.7.47.1.4. 평가판?

계약이 아직 시험 기간 내에 있는 경우 true를 반환합니다.

참고: 계획의 시험 기간을 변경하면 기존 계약에 영향을 미치지 않습니다.

1.7.47.1.5. 라이브입니까?
1.7.47.1.6. state

가능한 세 가지 상태는 다음과 같습니다.

    - pending
    - live
    - suspended
1.7.47.1.7. remaining_trial_period_days

아직 시험 기간에 남아 있는 날의 수입니다.

1.7.47.1.8. 계획

계약 계획을 반환합니다.

1.7.47.1.9. plan_change_permission_name

허용된 동작의 이름을 반환합니다.

1.7.47.1.10. plan_change_permission_warning

허용되는 동작의 경고 메시지를 반환합니다.

1.7.47.1.11. contract
1.7.47.1.12. name
1.7.47.1.13. system_name
1.7.47.1.14. change_plan_url
1.7.47.1.15. service
1.7.47.1.16. 애플리케이션
1.7.47.1.17. 수행 가능

해당 서브스크립션에 대한 현재 사용자의 특정 권한을 노출합니다.

{% if subscription.can.change_plan? %}
  ...
{% endif %}